Fixed cpl start reading full path
This commit is contained in:
parent
56b7452e55
commit
fa7ee800e1
@ -41,7 +41,7 @@ class LiveServerService(FileSystemEventHandler):
|
|||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
self._observer = Observer()
|
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()
|
self._observer.start()
|
||||||
|
|
||||||
def _restart(self):
|
def _restart(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user