Blog Posts by Date | tag: 'uvicorn'


How to hot reload FastAPI and Flask apps on HTML, CSS, and Javascript changes


November 16, 2023 / 5 min read / 3,393 views, 1 likes, 1 comments


hot reload

In this tutorial, I'll show you how to automatically hot-reload your FastAPI and Flask projects that use template engines like Jinja with web servers like uvicorn or gunicorn. After reading, you will be able to automatically restart your server and refresh your browser when Python, HTML, CSS, and other files change—no manual intervention required.

Read more...