diff --git a/learn_sql_model/cli/api.py b/learn_sql_model/cli/api.py index 7c9af84..5648880 100644 --- a/learn_sql_model/cli/api.py +++ b/learn_sql_model/cli/api.py @@ -26,4 +26,9 @@ def run( 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, + )