fix accidently throwing of server in production mode
This commit is contained in:
parent
065eca47b6
commit
10af5caad9
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ module Guard
|
|||
}
|
||||
@server_job = fork do
|
||||
app = ::Middleman.server
|
||||
app.set :environment, @options[:environment]
|
||||
app.set :environment, @options[:environment].to_sym
|
||||
@server_options[:app] = app.new
|
||||
@server_options[:server] = 'thin'
|
||||
::Rack::Server.new(@server_options).start
|
||||
|
|
Loading…
Reference in a new issue