Skip to content

Commit

Permalink
Update docs/index.md
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle Martin <[email protected]>
  • Loading branch information
slyapustin and martinky24 authored Sep 29, 2023
1 parent f02b80b commit 232323d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ if __name__ == "__main__":
asyncio.run(main())
```

When the `uvicorn.Server.serve()` is used directly, the hot reload feature is not available.
When the `uvicorn.Server()`'s `serve()` and `run()` methods are used directly, the hot reload feature is not available.

This is because the `uvicorn.Server.serve()` function is usually used in production environments where automatic reloading is not desired. In production environments, the application is expected to be stable and changes are typically made through a deployment process rather than by modifying the code directly.

Expand Down

0 comments on commit 232323d

Please sign in to comment.