flask auto reload on change code example
Example 1: install flask auto reload
$ export FLASK_APP=main.py
$ export FLASK_ENV=development
$ flask run
Example 2: flask windows auto reload
pip install werkzeug --upgrade
$ export FLASK_APP=main.py
$ export FLASK_ENV=development
$ flask run
pip install werkzeug --upgrade