R

Ravina • 3.96K Points
Extraordinary

Q. How can you automatically reload a FastAPI app during development?

  • (A) Use `--watch`
  • (B) Use `--reload` with Uvicorn
  • (C) Enable autoreload in config
  • (D) Use FastAPI dev mode
  • Correct Answer - Option(B)
  • Views: 16
  • Filed under category Fast API
  • Hashtags:

Explanation by: Ravina
Use `uvicorn main:app --reload` to auto-reload the app on changes.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.