BUGFIX: as of rerun 0.6.3, it polls 1x/sec for keyboard input (e.g. "c" to clear the screen). This polling requires a momentary setting of the tty to "raw" mode which unfortunately affects both input and output streams. So *sometimes* for *brief moments* your output loses the ability to turn "LF" into "CRLF", and things get all messy. rerun 0.6.5 fixes this. Your output logs should be as clean as a fresh snowfall and as margin-aligned as an illuminated manuscript. Only tested on Mac OS X Lion. Please let me know if other systems require other stty tweaks. And since this is the Heroku list, let me re-pose the question: Is rerun now the only one of the myriad "restarter" tools with support for restarting foreman (worker procs) in development? - A
On Sun, Nov 27, 2011 at 1:14 PM, Alex Chaffee <[email protected]> wrote: > rerun 0.6.3 released > http://github.com/alexch/rerun > == Description: > Rerun launches your program, then watches the filesystem. If a > relevant filechanges, 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 therest). > 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 justlike 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) > > -- > Alex Chaffee - [email protected] > http://alexchaffee.com > http://twitter.com/alexch -- Alex Chaffee - [email protected] http://alexchaffee.com http://twitter.com/alexch -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
