wsgi-monitor /

Filename Size Date modified Message
0 B
0 B
1.6 KB
545 B
2.9 KB

WSGI Monitor

Please note that I did not write this code: I only packaged it up to make it easier to install. This code is all taken from the mod_wsgi wiki page on SourceCodeReloading, and was written by Graham Dumpleton.

Since mod_wsgi is released under the Apache License 2.0, I have assumed that this code is also available under that license, as it is part of the same repository.


pip install wsgi-monitor

or download the package, and install with:

python install

Hopefully, you are using this inside a virtualenv.


mod_passenger / Django

If you use mod_passenger, then add something like the following to the bottom of your file:

if settings.DEBUG:
    import wsgi_monitor

This particular version assumes that settings.DEBUG is the flag that determines if we are running in development mode, and reload should be on. This works great with Django, but your system may require something different. If you use this with another framework or web server, please contribute by forking this on bitbucket (wsgi-monitor) and updating the docs.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.