From c1bab69f380eec4e658e439abfbf216896141464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=2E=20K=C3=A4rkk=C3=A4inen?= Date: Tue, 31 Mar 2020 04:32:18 -0700 Subject: [PATCH] This works OK on Windows too. --- sanic/app.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/sanic/app.py b/sanic/app.py index d228e292..a547cbea 100644 --- a/sanic/app.py +++ b/sanic/app.py @@ -1118,11 +1118,6 @@ class Sanic: auto_reload = kwargs.get("auto_reload", auto_reload) if auto_reload: - if os.name != "posix": - # This condition must be removed after implementing - # auto reloader for other operating systems. - raise NotImplementedError - if os.environ.get("SANIC_SERVER_RUNNING") != "true": return reloader_helpers.watchdog(2)