We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
following is my code
# main.py import asyncio from hypercorn.config import Config from hypercorn.asyncio import serve from api.main import app config = Config() customConfig = { "bind": ["0.0.0.0:8080"], "use_reloader": True, "accesslog": "-", "errorlog": "-", } asyncio.run(serve(app, Config.from_mapping(customConfig)))
and api file
# api/main.py from typing import Union from fastapi import FastAPI from api.manager.dockers import docker_manager app = FastAPI() @app.get("/") def read_root(): return {"Hello": "World"}
Expected Behavior
Application should reload when changes are made to the source code
Actual Behavior
API does not reload and changes do not appear on the running application
Steps to Reproduce the Problem
python main.py
Version:
The text was updated successfully, but these errors were encountered:
Can confirm that changes made during development are not being reloaded.
Using
Sorry, something went wrong.
Any update on this it's same for me as well. No reload happens use_reloaded=True
use_reloaded=True
Nope and gave up on hypercorn. I'm using unicorn right now.
No branches or pull requests
following is my code
and api file
Expected Behavior
Actual Behavior
Steps to Reproduce the Problem
Version:
The text was updated successfully, but these errors were encountered: