diff --git a/src/cpl_cli/live_server/live_server_service.py b/src/cpl_cli/live_server/live_server_service.py index 7b411dfb..e9bb40b6 100644 --- a/src/cpl_cli/live_server/live_server_service.py +++ b/src/cpl_cli/live_server/live_server_service.py @@ -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):