Fix bug with starting the console.

This commit is contained in:
Andrew Kvalheim 2014-09-10 16:00:07 -07:00
parent 00b4ac6867
commit ba6ca5b3b7

View file

@ -29,7 +29,7 @@ module Middleman::Cli
debug: options['verbose'] debug: options['verbose']
} }
@app = ::Middleman::Application.server.inst do @app = ::Middleman::Application.new do
config[:environment] = opts[:environment].to_sym if opts[:environment] config[:environment] = opts[:environment].to_sym if opts[:environment]
::Middleman::Logger.singleton(opts[:debug] ? 0 : 1, opts[:instrumenting] || false) ::Middleman::Logger.singleton(opts[:debug] ? 0 : 1, opts[:instrumenting] || false)