Can't remember where, but I read uWSGI can reload itself like Django development server when a project script is modified. I can't find that in the docs, nor in the internets. How can I do this?
I use Ubuntu 12.04 on my working machines and Debian Squeeze on stage & production server, Django 1.4 and uWSGI 1.2.
Best Answer
Reference: http://projects.unbit.it/uwsgi/wiki/Management
If you have started uwsgi with the
--touch-reload=/path/to/special/file/usually/the.ini
option, reloading your uWSGI is a simple matter of touch reloading that file withtouch /path/to/special/file/usually/the.ini
And if you want the "autoreload" capability, this is the tip that gets this done: http://projects.unbit.it/uwsgi/wiki/TipsAndTricks#uWSGIdjangoautoreloadmode