class Middleman::CoreExtensions::FileWatcher

def after_configuration

def after_configuration
  @watcher.update_config(
    disable_watcher: app.config[:watcher_disable],
    force_polling: app.config[:watcher_force_polling],
    latency: app.config[:watcher_latency],
    wait_for_delay: app.config[:watcher_wait_for_delay]
  )
  if @original_source_dir != app.config[:source]
    @watcher.update_path(app.config[:source])
  end
  @sources.start!
  @sources.poll_once!
end