Skip to content

Commit

Permalink
add reload option - set false to disable reloading
Browse files Browse the repository at this point in the history
  • Loading branch information
rtomayko committed Aug 31, 2008
1 parent 905a765 commit 1add9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sinatra.rb
Expand Up @@ -1186,7 +1186,7 @@ def pipeline
# Rack compatible request invocation interface.
def call(env)
run_safely do
reload! if development?
reload! if development? && (options.reload != false)
pipeline.call(env)
end
end
Expand Down

0 comments on commit 1add9fc

Please sign in to comment.