From 7606dfd494c856bcd8d2250c25fff536c7ca20a5 Mon Sep 17 00:00:00 2001 From: Mark Simulacrum Date: Wed, 21 Aug 2013 05:33:29 -0600 Subject: [PATCH] Change latency option to :numeric type. --- middleman-core/lib/middleman-core/cli/server.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/middleman-core/lib/middleman-core/cli/server.rb b/middleman-core/lib/middleman-core/cli/server.rb index 2c024355..931b69de 100644 --- a/middleman-core/lib/middleman-core/cli/server.rb +++ b/middleman-core/lib/middleman-core/cli/server.rb @@ -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