From e9c19e05c6ae79d70f4dcfd8543ff2036147e20f Mon Sep 17 00:00:00 2001 From: Michaƫl Ball Date: Sat, 12 Aug 2017 12:37:35 +0100 Subject: Correctly run watcher on app start. --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app.py') diff --git a/app.py b/app.py index 74d87d8..ebf0d83 100644 --- a/app.py +++ b/app.py @@ -21,4 +21,4 @@ if __name__ == "__main__": http_server = WSGIServer(('', 5000), APP, log=None) server = spawn(http_server.serve_forever) - joinall([server, watcher]) + joinall([watcher, server]) -- cgit v1.2.3