Am 07.01.2006 um 00:17 schrieb Jorge Godoy:
That plus the "start-<project>" instead of "<project>-start" would
be really
interesting. I get more annoyed with having to type "./pr<TAB>-
<TAB>" to get
"./project-start.py" than with 'quickstart'...
usually I don't use project-start.py directly. Instead I create a
shell one-liner "start" like this:
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