Module Jekyll::Watcher
In: lib/jekyll/watcher.rb

Methods

Public Instance methods

TODO: shouldn‘t be public API

Paths to ignore for the watch option

options - A Hash of options passed to the command

Returns a list of relative paths from source that should be ignored

Public: Continuously watch for file changes and rebuild the site whenever a change is detected.

If the optional site argument is populated, that site instance will be reused and the options Hash ignored. Otherwise, a new site instance will be instantiated from the options Hash and used.

options - A Hash containing the site configuration site - The current site instance (populated starting with Jekyll 3.2)

          (optional, default: nil)

Returns nothing.

[Validate]