[Fixed]-Restarting Gunicorn/Nginx when changes are made to files

14👍

You could add the ‘–reload’ argument, as mentioned in the gunicorn documentation.

Restart workers when code changes.

This setting is intended for development. It will cause workers to be
restarted whenever application code changes.

Source: http://docs.gunicorn.org/en/latest/settings.html

Leave a comment