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

java - Static nested class instance -

c# - Bluetooth LE CanUpdate Characteristic property -

JavaScript - Replace variable from string in all occurrences -