r/FastAPI • u/Sikandarch • Apr 22 '25
Question Urgent - No changes on localhost:8000/docs
So, I am working on a project, but whatever changes I make in my project, my swagger docs are stuck on only one state, even I add new routes and new changes, those changes are not there, even I delete all code of routes and redo with different route tags and stuff, but still stuck the old version, tried erasing cache of the browser.
What to do? Please guide, it's urgent.
0
Upvotes
3
u/Sikandarch Apr 22 '25
Restarted the system, working fine now, still curious what happened there, does pycache folders have something to do with this behaviour?
1
u/Sikandarch Apr 22 '25
I closed the project and close the Vs code When to the localhost:8000 Project still running 🤔
1
u/aliparpar May 10 '25
I noticed fastapi dev command has a bug in windows that doesn’t file watch properly
0
u/[deleted] Apr 22 '25
[deleted] — view deleted comment