A Python library to restart the process when source code changes.
- Free software: Apache License, Version 2.0
- Documentation: http://lazarus.rtfd.org.
- Automatically restart when source changes
- Customize when, why, and how restarts happen
- Runs on Linux and Mac
Restart when any Python module rooted at PYTHONPATH
changes:
>>> import lazarus
>>> lazarus.default()
Same thing, but within a uWSGI container:
>>> import lazarus
>>> lazarus.default(restart_func=lambda: uwsgi.reload(), close_fds=False)