Consider using [sinatra-contrib](https://github.com/sinatra/sinatra-contrib/blob/master/lib/sinatra/reloader.rb)'s reloader instead of shotgun, as shotgun reboots the entire app with each page request.