Add latency option to listener object.
This commit is contained in:
parent
d37eca6a54
commit
24ce8334ee
1 changed files with 1 additions and 0 deletions
|
@ -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|
|
||||
|
|
Loading…
Reference in a new issue