Open
Conversation
# Motivation In #13718 we added live reload support to the `localstack.dev.run` script, however the additional dependency added (`watchdog`) was added to the `dev` extras section. This section is not installed with our Pro setup make targets, or at least not everyone installs _this_ repo with the `dev` target, meaning that people who were using `localstack.dev.run` got an import error. # Changes Defer import of the module that itself imports `watchdog` so it is only required for people who actually want to use the `--live-reload` flag. This at least means a fewer number of people will be directly affected, and it is clearer what the issue is in this case. In addition, a PR to the Pro repo will correct the packaging process so `localstack[dev]` is installed with our `test` dependencies, which is a very common install target for developers.
Test Results (amd64) - Integration, Bootstrap 5 files 5 suites 2h 38m 10s ⏱️ For more details on these failures, see this check. Results for commit 086c1ab. |
Contributor
Author
|
The test failure is unrelated |
alexrashed
reviewed
Feb 13, 2026
Member
alexrashed
left a comment
There was a problem hiding this comment.
Good catch! And thanks for the detailed comment to help understanding why this is helpful! 💯
alexrashed
approved these changes
Feb 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
In #13718 we added live reload support to the
localstack.dev.runscript, however the additional dependency added (watchdog) was added to thedevextras section.This section is not installed with our Pro setup make targets, or at least not everyone installs this repo with the
devtarget, meaning that people who were usinglocalstack.dev.rungot an import error.Changes
Defer import of the module that itself imports
watchdogso it is only required for people who actually want to use the--live-reloadflag. This at least means a fewer number of people will be directly affected, and it is clearer what the issue is in this case.In addition, a PR to the Pro repo will correct the packaging process so
localstack[dev]is installed with ourtestdependencies, which is a very common install target for developers.