reload on change

This commit is contained in:
Waylon Walker 2023-05-21 10:41:14 -05:00
parent 791a74ca2e
commit 762e63eb28
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4

View file

@ -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,
)