Skip to content
yed podtrzitko edited this page Jun 25, 2015 · 5 revisions

This WSGI middleware makes klaus reload itself whenever the contents of a directory change.

See https://github.com/jonashaag/klaus/blob/master/klaus/contrib/wsgi_autoreload.py

Example

gunicorn --env KLAUS_SITE_NAME="Klaus Demo" \
         --env KLAUS_REPOS_ROOT="/path/to/repos_root" \
         klaus.contrib.wsgi_autoreload