1
0
Fork 0
mirror of https://github.com/middleman/middleman.git synced 2022-11-09 12:20:27 -05:00

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']
}
@app = ::Middleman::Application.server.inst do
@app = ::Middleman::Application.new do
config[:environment] = opts[:environment].to_sym if opts[:environment]
::Middleman::Logger.singleton(opts[:debug] ? 0 : 1, opts[:instrumenting] || false)