Add latency option to listener object.

This commit is contained in:
Mark-Simulacrum 2013-08-20 06:36:51 -06:00
parent d37eca6a54
commit 24ce8334ee

View file

@ -104,6 +104,7 @@ module Middleman
# Watcher Library
require "listen"
@listener = Listen.to(Dir.pwd, :relative_paths => true, :force_polling => @options[:force_polling])
@listener.latency(@options[:latency])
end
@listener.change do |modified, added, removed|