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
Post a Comment