Manage Sinatra Server in Development Mode with Shotgun

Sinatra won’t reload your files. So if you’re developing your app and want to see any changes made in the browser, install the shotgun gem.

gem install shotgun

You can then use shotgun to run your server

shotgun your_sinatra_ditty.rb

Presto, your ditty will never be out of key :)