1
0
Fork 0
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:
Mark Simulacrum 2013-08-21 05:33:29 -06:00
parent c12d98df4f
commit 7606dfd494

View file

@ -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