By default, when running Flask application using the built-in server (Flask.run), it monitors its Python files and automatically reloads the app if its code cha
Flask.run
Actually for me TEMPLATES_AUTO_RELOAD = True does not work (0.12 version). I use jinja2 and what i have done:
TEMPLATES_AUTO_RELOAD = True
Create function before_request
before_request
def before_request(): app.jinja_env.cache = {}
Register it in application
app.before_request(before_request)
That's it.