Closed datenimperator closed 10 years ago
I agree. If you do a pull request, could you make sure that shotgun is a dependency of generated projects (i.e. the site has shotgun in its Gemfile) instead? That's important, or bundle exec shotgun
won't work for new sites.
We're actually going to move away from shotgun
in the docs to @micahchalmer's mr-sparkle (which is loads faster, and generally awesome), so if anybody does pick this up before I get to it, that'd be a good way to go. Reasoning for using mr-sparkle instead of sinatra/reloader
is covered in this mailing list thread:
mr-sparkle was written as a result, and was announced in a subsequent thread.
The shotgun gem shouldn't be a dependency. For example, sinatra-contrib contains
sinatra/reloader
which is much faster than shotgun and does not fork (therefore: works on Windows) Choosing a reloader isn't nestas responsibility.