Skip to content
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

Add --reload flag #98

Closed
tomchristie opened this issue Jun 29, 2018 · 6 comments
Closed

Add --reload flag #98

tomchristie opened this issue Jun 29, 2018 · 6 comments

Comments

@tomchristie
Copy link
Member

Auto-reloading when code changes

@tomchristie
Copy link
Member Author

We now have auto-reloading when --debug is used.

kmichel2 pushed a commit to kmichel/uvicorn that referenced this issue Aug 28, 2020
The h11 Changelog for 0.10 only include those items:
 - Drop support for Python 3.4.
 - Support Python 3.8.
 - Make error messages returned by match failures less ambiguous (encode#98).
euri10 pushed a commit that referenced this issue Aug 28, 2020
The h11 Changelog for 0.10 only include those items:
 - Drop support for Python 3.4.
 - Support Python 3.8.
 - Make error messages returned by match failures less ambiguous (#98).
@abhyudayasrinet
Copy link

How can I force an auto-reload if I make code changes are deployed in production?
I'm currently setting up an API endpoint using fastapi and deploying it with uvicorn + nginx

@euri10
Copy link
Member

euri10 commented Dec 20, 2020 via email

@abhyudayasrinet
Copy link

abhyudayasrinet commented Dec 20, 2020

@euri10 how could one automate a deployment for such a case then?

@euri10
Copy link
Member

euri10 commented Dec 20, 2020 via email

@abhyudayasrinet
Copy link

Thanks, will watch it. Meanwhile, I guess I will have to go with restarting the gunicorn service when code deployments are triggered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants