Class: Bobkit::Watcher::FileWatcherHandler
- Inherits:
-
Object
- Object
- Bobkit::Watcher::FileWatcherHandler
- Includes:
- LocationOptions, Singleton
- Defined in:
- lib/bobkit/watcher.rb
Instance Method Summary collapse
Methods included from LocationOptions
#assets_folder, #assets_output_folder, #coffee_folder, #css_output_folder, #js_output_folder, #layouts_folder, #locales_folder, #markdown_folder, #output_folder, #root_folder, #styles_folder, #templates_folder
Methods included from OptionsBase
#options, #setopt, #use_defaults
Instance Method Details
#filewatcher ⇒ Object
24 25 26 |
# File 'lib/bobkit/watcher.rb', line 24 def filewatcher Filewatcher.new(paths) end |
#watch(paths = nil) ⇒ Object
17 18 19 20 21 22 |
# File 'lib/bobkit/watcher.rb', line 17 def watch(paths = nil, &) # :nocov: @paths = paths filewatcher.watch(&) # :nocov: end |