reload on change
This commit is contained in:
parent
791a74ca2e
commit
762e63eb28
1 changed files with 6 additions and 1 deletions
|
|
@ -26,4 +26,9 @@ def run(
|
||||||
help="show the log messages",
|
help="show the log messages",
|
||||||
),
|
),
|
||||||
):
|
):
|
||||||
uvicorn.run("learn_sql_model.api.app:app", port=get_config().port, log_level="info")
|
uvicorn.run(
|
||||||
|
"learn_sql_model.api.app:app",
|
||||||
|
port=get_config().port,
|
||||||
|
log_level="info",
|
||||||
|
reload=True,
|
||||||
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue