How to reload flask app py code example Example: install flask auto reload $ export FLASK_APP=main.py $ export FLASK_ENV=development $ flask run