FastAPI with on-demand HOT reload! 🙌 #13192
CNSeniorious000
started this conversation in
Show and tell
Replies: 1 comment 3 replies
-
How does it handle or how would it handle static files if added to a web server? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Just like vite and vitest,
hmr
only reruns the changed file and affected modules. The auto-rerun is fine-grained and on-demand, so it is suitable for applications with rather long startup time.hmr-demo.mov
Tip
You can try the example above here with
hmr main.py
About
hmr
, you can refer to its README for details.Beta Was this translation helpful? Give feedback.
All reactions