README.md in rerun-0.7.0 vs README.md in rerun-0.7.1
- old
+ new
@@ -46,10 +46,15 @@
If the first part of the command is a `.rb` filename, then `ruby` is
optional, so the above can also be accomplished like this:
rerun app.rb
+Rails doesn't automatically notice all config file changes, so you can force it
+to restart when you change a config file like this:
+
+ rerun --dir config rails s
+
Or if you're using Thin to run a Rack app that's configured in config.ru
but you want it on port 4000 and in debug mode, and only want to watch
the `app` subdirectory:
rerun --dir app -- thin start --debug --port=4000 -R config.ru
@@ -144,10 +149,10 @@
* Specify (or deduce) port to listen for to determine success of a web server launch
* Make sure to pass through quoted options correctly to target process [bug]
* Make it work on Windows, like Guard now does. See
* https://github.com/guard/guard/issues/59
* https://github.com/guard/guard/issues/27
-
+* Optionally do "bundle install" before and "bundle exec" during launch
# Other projects that do similar things
* Restartomatic: <http://github.com/adammck/restartomatic>
* Shotgun: <http://github.com/rtomayko/shotgun>
* Rack::Reloader middleware: <http://github.com/rack/rack/blob/5ca8f82fb59f0bf0e8fd438e8e91c5acf3d98e44/lib/rack/reloader.rb>