4 ms·
If you are working on code that runs a web server or some other service that is generally a long running application, take a look at hupper: https://docs.pylons
by X-Istence 6y ago
If you are working on code that runs a web server or some other service that is generally a long running application, take a look at hupper: https://docs.pylonsproject.org/projects/hupper/en/latest/ https://docs.pylonsproject.org/projects/hupper/en/latest/
It is built specifically to restart things like servers as it was implemented for the Pylons Project (Pyramid web framework).
- BiteCode_dev 6y agoDoes hupper can restart on changes to non python files ?
- X-Istence 6y agoThere is an API to pass it non-python files (so that alongside your Python app it can watch your configuration files for instance/HTML files). However it does not work for just watching a directory + running a command, it is specifically for watching Python code.