diff --git a/CHANGELOG.md b/CHANGELOG.md index 015ae53..ac81774 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog db-rocket +## Version 1.3.3 + +- Fix watch stopping due to maximum recursion + ## Version 1.3.2 - Refine prints to be more clear diff --git a/rocket/rocket.py b/rocket/rocket.py index eaebcbf..3612ff1 100644 --- a/rocket/rocket.py +++ b/rocket/rocket.py @@ -94,7 +94,8 @@ def launch( observer.join() if watcher.modified_files: self._deploy(watch=watch, modified_files=watcher.modified_files) - return self.launch(project_location=project_location, dbfs_path=dbfs_path, watch=True, _deploy=False) + return execute_shell_command( + f'rocket launch --project_location={project_location} --watch={True} --dbfs_path={dbfs_path} _deploy=False') def _build_and_deploy(self, watch, modified_files=None): self._build() diff --git a/setup.py b/setup.py index b4dbdda..f86f724 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setuptools.setup( name="databricks-rocket", - version="1.3.2", + version="1.3.3", author="GetYourGuide", author_email="engineering.data-products@getyourguide.com", description="Keep your local python scripts installed and in sync with a databricks notebook. Shortens the feedback loop to develop projects using a hybrid enviroment",