Allow to find new project in sub dirs

This commit is contained in:
grossmj 2026-04-07 18:05:32 +08:00
parent de8abc0af0
commit 5b04fd0336
No known key found for this signature in database
GPG Key ID: 1E7DD6DBB53FF3D7

View File

@ -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")