Fixed cpl start reading full path

This commit is contained in:
Sven Heidemann 2021-11-24 17:48:19 +01:00
parent 56b7452e55
commit fa7ee800e1

View File

@ -41,7 +41,7 @@ class LiveServerService(FileSystemEventHandler):
:return:
"""
self._observer = Observer()
self._observer.schedule(self, path=self._src_dir, recursive=True)
self._observer.schedule(self, path=os.path.abspath(os.path.join(self._src_dir, '../')), recursive=True)
self._observer.start()
def _restart(self):