Search code examples
flaskuwsgiwerkzeug

How to set up autoreload with Flask+uWSGI?


I am looking for something like uWSGI + django autoreload mode for Flask.


Solution

  • You could try using supervisord as a manager for your Uwsgi app. It also has a watch function that auto-reloads a process when a file or folder has been "touched"/modified.

    You will find a nice tutorial here: Flask+NginX+Uwsgi+Supervisord