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
|
@ -25,7 +25,7 @@ class PluginManager:
|
|||
|
||||
if config.debug: # Auto reload Plugins on file change
|
||||
from Debug import DebugReloader
|
||||
DebugReloader(self.reloadPlugins)
|
||||
DebugReloader.watcher.addCallback(self.reloadPlugins)
|
||||
|
||||
def migratePlugins(self):
|
||||
for dir_name in os.listdir(self.plugin_path):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue