Skip to content

fix, reload env instance in Harmony upon changes #9289

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 5, 2024

Conversation

davidfirst
Copy link
Member

When bit-server (or watcher) is running in the background and an env is changed, although it gets compiled, its instance in Harmony remains the same. As a result, these changes are not reflected when running bit build or any command that uses the env.
This PR fixes the issue by re-registering the plugins when an env is changed. It makes Harmony use the new dists.

@GiladShoham GiladShoham merged commit 6510ef6 into master Nov 5, 2024
11 checks passed
@GiladShoham GiladShoham deleted the watch-env-reload-dists branch November 5, 2024 11:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants