diff options
author | Michaël Ball <michael.ball@gmail.com> | 2017-08-12 12:37:35 +0100 |
---|---|---|
committer | Michaël Ball <michael.ball@gmail.com> | 2017-08-12 12:37:35 +0100 |
commit | e9c19e05c6ae79d70f4dcfd8543ff2036147e20f (patch) | |
tree | 735b00da30a6d6adba65c619bbf4fa5125df9ad5 /app.py | |
parent | da5c7e73112db917f2fb0c91635c48954cc3648e (diff) |
Correctly run watcher on app start.
Diffstat (limited to 'app.py')
-rw-r--r-- | app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) |