New watchdog module based file change watching
This commit is contained in:
parent
75d8338f2d
commit
e92f3ea100
5 changed files with 41 additions and 42 deletions
|
@ -39,7 +39,7 @@ class Translate(dict):
|
|||
if config.debug:
|
||||
# Auto reload FileRequest on change
|
||||
from Debug import DebugReloader
|
||||
DebugReloader(self.load)
|
||||
DebugReloader.watcher.addCallback(self.load)
|
||||
|
||||
translates.append(self)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue