mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
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,
|
||||
:desc => 'Force file watcher into polling mode'
|
||||
method_option :latency,
|
||||
:type => :string,
|
||||
:type => :numeric,
|
||||
:aliases => "-l",
|
||||
:default => "0.25",
|
||||
:default => 0.25,
|
||||
:desc => 'Set file watcher latency, in seconds'
|
||||
|
||||
# Start the server
|
||||
|
|
Loading…
Reference in a new issue