New watchdog module based file change watching

This commit is contained in:
shortcutme 2019-03-16 02:42:43 +01:00
parent 75d8338f2d
commit e92f3ea100
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE
5 changed files with 41 additions and 42 deletions

View file

@ -123,7 +123,7 @@ class UiServer:
if config.debug:
# Auto reload UiRequest on change
from Debug import DebugReloader
DebugReloader(self.reload)
DebugReloader.watcher.addCallback(self.reload)
# Werkzeug Debugger
try: