I have just started learning how to build small Web apps with Python and Flask but am having some issues with the workflow. The way I am currently developing is:
- Make a change to the app (HTML, CSS, JS, Python Flask code etc)
- Stop the server
- Clear the browser cache to remove the old static assets
- Start the server
- Reload my app in the browser
This is becoming a complete chore. I have come from developing with Node/Express and React where I have been using nodemon
(https://www.npmjs.com/package/nodemon) to monitor any application changes. The server restarts automatically as soon as you save your app, with any changes detected immediately being reflected in the browser.
Is there something like this for Flask?