1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00

only reload files in dev

This commit is contained in:
blake.mizerany@gmail.com 2007-09-11 01:14:11 +00:00
parent 22e0f1d4a8
commit 436f1fd14a

View file

@ -9,7 +9,7 @@ module Sinatra
end
def call(env)
Loader.reload!
Loader.reload! if Options.environment == :production
@request = Rack::Request.new(env)