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