module Jekyll::Commands::Watch

Public Instance Methods

init_with_program(prog) click to toggle source
# File lib/jekyll/commands/watch.rb, line 7
def init_with_program(prog); end
process(options) click to toggle source

Build your jekyll site Continuously watch if `watch` is set to true in the config.

# File lib/jekyll/commands/watch.rb, line 11
def process(options)
  Jekyll.logger.log_level = :error if options["quiet"]
  Jekyll::Watcher.watch(options) if options["watch"]
end