PTVS doesn't work with Flask reloader


Flask in debug mode provides wonderful reloader on file change. PTVS doesn't redetect the restarted instance inside the reloader.


Zooba wrote Aug 12, 2014 at 1:06 PM

This is a deliberate limitation, since the reloader completely breaks our debugger.

If you start running with Ctrl+F5 instead of just F5 then the reloader should work, though you won't have debugging in PTVS.

kenotron wrote Aug 21, 2014 at 4:06 AM

Wondering if PTVS can create a sort of reloader for you on file change so that it does the same sort of thing?

This pattern of work is quite prevalent in the open source dynamic language based frameworks.