rerun 0.6.3 released
gem install rerun
== Description:
Rerun launches your program, then watches the filesystem. If a relevant
file
changes, then it restarts your program.
Rerun works for both long-running processes (e.g. apps) and
short-running ones
(e.g. tests). So it works like shotgun and autotest (and guard and all
the
rest).
Rerun’s advantage is its simple design. Since it uses standard Unix
“SIGINT”
and “SIGKILL” signals, you’re sure the restarted app is really acting
just
like it was when you ran it from the command line the first time.
== New features:
-
better signal handling
-
support for “foreman” and Heroku Cedar apps
(And hey, does Shotgun reload your Worker processes if you’re using
Foreman
and a Procfile? I don’t think it does…)
-
On-The-Fly Commands
While the app is (re)running, you can make things happen by pressing
keys:r - restart (as if a file had changed)
c - clear the screen
x - exit (just like control-C)