mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-08-27 12:30:13 +03:00
Allow to find new project in sub dirs
This commit is contained in:
parent
de8abc0af0
commit
5b04fd0336
@ -380,7 +380,7 @@ class Controller:
|
||||
|
||||
try:
|
||||
observer = Observer()
|
||||
observer.schedule(_ProjectsDirectoryEventHandler(self, projects_path), projects_path, recursive=False)
|
||||
observer.schedule(_ProjectsDirectoryEventHandler(self, projects_path), projects_path, recursive=True)
|
||||
observer.start()
|
||||
self._projects_observer = observer
|
||||
log.info(f"Watching projects directory '{projects_path}' for changes")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user