[Flask] Avoiding crash when compilation error occurs during development

Gabor Szabo gabor at szabgab.com
Fri Apr 15 02:46:43 EDT 2016


Hi,

this has been bothering me for a while now, and have not found a solution
yet.

During development I launch the application using

app.run(debug=True, host='0.0.0.0')

it works nicely and reloads the application when I make some changes,
but if I make a syntax error, and I make quite a lot of them, then the
server crashes
and then I have to switch to the console to start it again.

Is there a way to avoid this?
Well, besides not making syntax errors any more.

Gabor
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/flask/attachments/20160415/728d6c5b/attachment.html>


More information about the Flask mailing list