Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

2 Answers 2

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.

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.