Merge pull request #1163 from jagthedrummer/jeremy/console-fix

Update the console to the new logger syntax.
This commit is contained in:
Thomas Reynolds 2014-01-31 09:19:49 -08:00
commit cb87e70a72

View file

@ -32,7 +32,7 @@ module Middleman::Cli
set :environment, opts[:environment].to_sym
end
logger(opts[:debug] ? 0 : 1, opts[:instrumenting] || false)
::Middleman::Logger.singleton(opts[:debug] ? 0 : 1, opts[:instrumenting] || false)
end
# TODO: get file watcher / reload! working in console