Is there any way to restart web2py from the command line. I'm working on a
mac, and there's no way to use the GUI to stop or restart the built-in
rocket server. Currently the best I can do is:
- Start web2py: python web2py.py -a 'pass' -i 127.0.0.1 -p 8000
- Stop web2py: kill -SIGTERM {whatever pid was returned from start
script}
This is a clumsy process, but one i'm forced to go through many times a day
when dealing with module development, as there's no other way to ensure a
clean reload of modules.