Fix production mode server
This commit is contained in:
parent
394d4465b0
commit
73cbc950bc
1 changed files with 39 additions and 39 deletions
|
|
@ -65,8 +65,8 @@ def main() -> None:
|
|||
|
||||
logger.info(f"Starting uvicorn server with app={app}")
|
||||
|
||||
uvicorn.run(app, **common_config) # this will never return
|
||||
|
||||
uvicorn.run(app, **common_config)
|
||||
else:
|
||||
class EventHandler(PatternMatchingEventHandler):
|
||||
def __init__(self) -> None:
|
||||
super().__init__(patterns=["*.py", "*.ipynb"], ignore_patterns=["__*.py"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue