Module: Jekyll::Commands::Watch
Instance Method Summary collapse
- #init_with_program(prog) ⇒ Object
-
#process(options) ⇒ Object
Build your jekyll site Continuously watch if ‘watch` is set to true in the config.
-
#watch(site, options) ⇒ Object
Watch for file changes and rebuild the site.
Instance Method Details
#init_with_program(prog) ⇒ Object
6 7 |
# File 'lib/jekyll/commands/watch.rb', line 6 def init_with_program(prog) end |
#process(options) ⇒ Object
Build your jekyll site Continuously watch if ‘watch` is set to true in the config.
11 12 13 14 |
# File 'lib/jekyll/commands/watch.rb', line 11 def process() Jekyll.logger.log_level = :error if ['quiet'] watch(site, ) if ['watch'] end |