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