Sha256: c23b68ac81dcf822c6fd33a276313000f399aa96b242740df59014d5fea473c4
Contents?: true
Size: 651 Bytes
Versions: 3
Compression:
Stored size: 651 Bytes
Contents
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'] watch(site, options) if options['watch'] end # Watch for file changes and rebuild the site. # # site - A Jekyll::Site instance # options - A Hash of options passed to the command # # Returns nothing. def watch(_site, options) Jekyll::Watcher.watch(options) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jekyll-watch-1.5.0 | lib/jekyll/commands/watch.rb |
jekyll-watch-1.4.0 | lib/jekyll/commands/watch.rb |
jekyll-watch-1.3.1 | lib/jekyll/commands/watch.rb |