module Middleman::CoreExtensions::FileWatcher
Constants
- IGNORE_LIST
Public Class Methods
registered(app)
click to toggle source
Once registered
# File lib/middleman-core/core_extensions/file_watcher.rb, line 27 def registered(app) app.send :include, InstanceMethods # Before parsing config, load the data/ directory app.before_configuration do files.reload_path(data_dir) end # After config, load everything else app.ready do files.reload_path('.') end end
Also aliased as: included