Richard (koorb) wrote: > Martina Oefelein wrote: > >> python project-start.py || growlnotify -t "project stopping" -m "bye, >> bye..." >> >> This pops up a message when the server stops due to an error during >> autoreload. This way, when I save changed code while the server is >> running, I don't have to watch the terminal window for errors. >> Instead, I can directly switch to the browser, wait a moment, and hit >> reload. >> >> Of course, this only works on the Mac, and only if you have Growl >> installed. Maybe tg-admin start could check for growlnotify and call >> if automatically? >> >> ciao >> Martina >> > > ooo! now I like the sound of that! > Yep, that's better!
For users with GTK enabled GUIs (like me on Linux + GNOME desktop) the zenity command (http://directory.fsf.org/zenity.html) enables opening popup windows with icons related to message type (info, error, etc.) That's really a small sub-project : using sys.platform to launch platform-specific shell command for GUI notification of server events , based on output of the start script.
signature.asc
Description: OpenPGP digital signature

