Skip to content
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

Watch all workspace folders for changes in dot folders #3769

Merged
merged 2 commits into from
Apr 27, 2023

Conversation

mattseddon
Copy link
Member

@mattseddon mattseddon commented Apr 27, 2023

I noticed this whilst working on #3768. The explanation for the change is inline.

@mattseddon mattseddon added the bug Something isn't working label Apr 27, 2023
@mattseddon mattseddon self-assigned this Apr 27, 2023
getRelativePattern(cwd, '**'),
path => this.dotFolderListener(disposer, path)
)
for (const workspaceFolder of getWorkspaceFolders()) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[F] There was a small chance of a bug here when the user has multiple workspace folders. We can easily watch multiple folders for changes.

@mattseddon mattseddon marked this pull request as ready for review April 27, 2023 04:52
@mattseddon mattseddon enabled auto-merge (squash) April 27, 2023 19:45
@codeclimate
Copy link

codeclimate bot commented Apr 27, 2023

Code Climate has analyzed commit d4a503f and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 94.7% (0.0% change).

View more on Code Climate.

@mattseddon mattseddon merged commit 4f4c7e5 into main Apr 27, 2023
@mattseddon mattseddon deleted the fix-dot-folder-watcher branch April 27, 2023 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants