README.md in rerun-0.5.5 vs README.md in rerun-0.6.0
- old
+ new
@@ -3,17 +3,17 @@
<http://github.com/alexch/rerun>
Launches your app, then watches the filesystem. If a relevant file
changes, then it restarts your app.
-By default only *.{rb,js,css,erb,ru} files are watched. Use the
+By default only *.{rb,js,css,scss,sass,erb,html,haml,ru} files are watched. Use the
`--pattern` option if you want to change this.
If you're on Mac OS X, and using the built-in ruby,
it uses the built-in facilities for monitoring
-the filesystem, so CPU use is very light. And if you have "growlnotify"
-available on the PATH, it sends notifications to growl in addition to
+the filesystem, so CPU use is very light. And if you have `growlnotify`
+available on the `PATH`, it sends notifications to growl in addition to
the console. Here's how to install
[growlnotify](http://growl.info/extras.php#growlnotify):
> The Installer package for growlnotify is in the growlnotify folder in the Extras folder on the Growl disk image. Simply open the Installer package and follow the on-screen instructions.
@@ -59,18 +59,22 @@
--dir directory to watch (default = ".")
--pattern glob to match inside directory. This uses the Ruby Dir glob style -- see <http://www.ruby-doc.org/core/classes/Dir.html#M002322> for details.
By default it watches these files: `rb,js,css,scss,sass,erb,html,haml,ru`.
+--clear (or -c) clear the screen before each run
+
+--exit (or -x) expect the program to exit. With this option, rerun checks the return value; without it, rerun checks that the process is running.
+
Also --version and --help.
# To Do:
+* Cooldown (so if a dozen files appear in a burst, say from 'git pull', it only restarts once)
* If the last element of the command is a `.ru` file and there's no other command then use `rackup`
* Allow arbitrary sets of directories and file types, possibly with "include" and "exclude" sets
* ".rerun" file to specify options per project or in $HOME.
* Test on Linux.
-* Test on Mac without Growlnotify.
* Merge with Kicker (using it as a library and writing a Rerun recipe) or Watchr
* On OS X, use a C library using growl's developer API <http://growl.info/developer/>
# Other projects that do similar things