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

matlab - error with cyclic autocorrelation function -

django - (fields.E300) Field defines a relation with model 'AbstractEmailUser' which is either not installed, or is abstract -

c# - What is a good .Net RefEdit control to use with ExcelDna? -