template/lib/endpoints/base.rb in pliny-0.3.0 vs template/lib/endpoints/base.rb in pliny-0.4.0
- old
+ new
@@ -11,9 +11,10 @@
set :raise_errors, true
set :show_exceptions, false
configure :development do
register Sinatra::Reloader
+ also_reload '../**/*.rb'
end
error Pliny::Errors::Error do
Pliny::Errors::Error.render(env["sinatra.error"])
end