-
-
Notifications
You must be signed in to change notification settings - Fork 748
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GH-1868] Updated documentation to note what auto-reload is disabled when serve() used directly. #1955
Conversation
…when serve() used directly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It may be useful to add on the documentation the way to programmatically use the reload, instead of saying just that is not possible.
Co-authored-by: Marcelo Trylesinski <[email protected]>
at first i added an option to run the local server via the CLI, but enabling the `reload` flag seemed undocumented (though possible?). see <encode/uvicorn#1955>. therefore, i made a shell script helper function.
We ran into this issue as well (hot reload not working when using @slyapustin Would it be reasonable to also note that |
|
Ah, I realize I don't have permissions to update the branch directly I think... |
Co-authored-by: Kyle Martin <[email protected]>
Co-authored-by: Kyle Martin <[email protected]>
Thanks @martinky24, I updated my PR with your suggestions. |
Summary
Updated documentation as suggested by @Kludex on the issue: #1868 (comment)
Checklist