Fix misnamed config value which was causing --force-polling flag to be ignored by file_watcher extension

This commit is contained in:
Jim Dalton 2015-08-10 15:04:47 -07:00
parent 8cce9b8a8c
commit 1a3f96b58f

View file

@ -30,7 +30,7 @@ module Middleman
# Setup source collection. # Setup source collection.
@sources = ::Middleman::Sources.new(app, @sources = ::Middleman::Sources.new(app,
disable_watcher: app.config[:watcher_disable], disable_watcher: app.config[:watcher_disable],
force_polling: app.config[:force_polling], force_polling: app.config[:watcher_force_polling],
latency: app.config[:watcher_latency]) latency: app.config[:watcher_latency])
# Add default ignores. # Add default ignores.