Skip to content

Instantly share code, notes, and snippets.

@ashleygwilliams
Last active December 19, 2015 12:49
Show Gist options
  • Save ashleygwilliams/5957597 to your computer and use it in GitHub Desktop.
Save ashleygwilliams/5957597 to your computer and use it in GitHub Desktop.
instructions for using sinatra reloader for windows machines that can't use shotgun
from http://www.sinatrarb.com/contrib/reloader.html
#GEMFILE
development do
gem "sinatra-contrib"
gem "tux"
end
#app.rb
require "sinatra/reloader" if development?
module Project
class App < Sinatra::Base
configure :development do
register Sinatra::Reloader
end
end
end
# to run the app...
$ rackup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment