Skip to content

Automatic Code Reloading for Rack Applications #2

Description

@stuartellis

If you are writing a Rack or Sinatra application then it's worth knowing about the code reloaders...

These reload your code on every request (like Rails does in development), so that you can just save and refresh your browser to run the latest version.

Sinatra has a reloader in sinatra-contrib:

https://github.com/sinatra/sinatra-contrib/blob/master/lib/sinatra/reloader.rb

Shotgun works for any Rack application (but isn't compatible with JRuby):

https://github.com/rtomayko/shotgun

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions