Apache Django Mod_Wsgi – reload application automatically

apache-2.2djangomod-wsgi

My mod_wsgi is running in daemon mode but it won't reload my django app whenever I make changes to files.

Each time I have to reload apache's configuration.

I tried to us this tutorial, but it didn't work for me…

Best Answer

AFAIK, only the WSGI script file is checked for changes.

If the rest of your code lies outside of the WSGI file then it won't be automagically reloaded.

The FAQ has two suggestions. Either issue a SIGINT (kill -2) to the daemon or touch your WSGI file.