We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
WatchFilesReload
1 parent 7caaf20 commit 8738727Copy full SHA for 8738727
uvicorn/supervisors/watchfilesreload.py
@@ -82,6 +82,8 @@ def __init__(
82
)
83
84
def should_restart(self) -> Optional[List[Path]]:
85
+ self.pause()
86
+
87
changes = next(self.watcher)
88
if changes:
89
unique_paths = {Path(c[1]) for c in changes}
0 commit comments