diff options
Diffstat (limited to 'lib/opentox.rb')
-rw-r--r-- | lib/opentox.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/opentox.rb b/lib/opentox.rb index 4ca154c..05a8a08 100644 --- a/lib/opentox.rb +++ b/lib/opentox.rb @@ -1,4 +1,5 @@ require 'sinatra/base' +require "sinatra/reloader" module OpenTox # Base class for OpenTox services @@ -12,6 +13,10 @@ module OpenTox set :show_exceptions, false set :static, false + configure :development do + register Sinatra::Reloader + end + error do # TODO: set actor, calling OT::Error with uri parameter does not work error = request.env['sinatra.error'] |