gunicorn - How to restart Foreman when code in a Django site changes? -


i'm running django website in vagrant box (roughly) mirrors heroku set-up. uses foreman procfile this:

web: gunicorn projectname.wsgi > /vagrant/gunicorn.log 2>&1 

however, when change django code, server doesn't restart or reload code, makes development... painful!

how can make foreman serve new code when changes?


Comments

Popular posts from this blog

Python Pandas join aggregated tables -

java - Static nested class instance -

process - Python What is the difference between a Pool of worker processes and just running multiple Processes? -