Sha256: 7124722664bad0ff8033bc29c26454ebd8d1763cbd6f9da9437d3485af326d0e

Contents?: true

Size: 413 Bytes

Versions: 3

Compression:

Stored size: 413 Bytes

Contents

# frozen_string_literal: true

module Jekyll
  module Commands
    module Watch
      extend self

      def init_with_program(prog); end

      # Build your jekyll site
      # Continuously watch if `watch` is set to true in the config.
      def process(options)
        Jekyll.logger.log_level = :error if options["quiet"]
        Jekyll::Watcher.watch(options) if options["watch"]
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-watch-2.1.2 lib/jekyll/commands/watch.rb
jekyll-watch-2.1.1 lib/jekyll/commands/watch.rb
jekyll-watch-2.1.0 lib/jekyll/commands/watch.rb