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...

link|improve this question
feedback

2 Answers

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.

link|improve this answer
feedback

Did you properly implement the code monitor as described in the following part of that document:

http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode#Monitoring_For_Code_Changes

link|improve this answer
feedback

Your Answer

 
or
required, but never shown