Change latency option to :numeric type.
This commit is contained in:
parent
c12d98df4f
commit
7606dfd494
1 changed files with 2 additions and 2 deletions
|
@ -46,9 +46,9 @@ module Middleman::Cli
|
||||||
:default => false,
|
:default => false,
|
||||||
:desc => 'Force file watcher into polling mode'
|
:desc => 'Force file watcher into polling mode'
|
||||||
method_option :latency,
|
method_option :latency,
|
||||||
:type => :string,
|
:type => :numeric,
|
||||||
:aliases => "-l",
|
:aliases => "-l",
|
||||||
:default => "0.25",
|
:default => 0.25,
|
||||||
:desc => 'Set file watcher latency, in seconds'
|
:desc => 'Set file watcher latency, in seconds'
|
||||||
|
|
||||||
# Start the server
|
# Start the server
|
||||||
|
|
Loading…
Add table
Reference in a new issue