Search code examples
flaskdevelopment-environment

Is it possible to keep reloading with flask even though I have syntax errors


Flask's autoreloader is very nice, however I often make syntax mistakes, which causes the reloader to crash.

Is it possible to make the reloader catch the syntax error and still print it, but keep on reloading when the offending file changes again?


Solution

  • Take a look at Flask-Failsafe, here's a bit more from the author.