Skip to content

Fix glob pattern file watcher handling #55

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dbkegley
Copy link

@dbkegley dbkegley commented Jun 30, 2025

Removes the duplicated filewatcher logic that was causing the files to not get added to the watch list. Diagnostics were cached initially if you ask for the file explicitly but no updates were sent by the lsp because we didn't subscribe to the file watch events.

I suspect the special handling was added initially and then refactored into matchesGlob but the original logic was never removed.

closes #54

@virtuald
Copy link

Pulling this into my fork at virtuald#12

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.

diagnostic results are cached
2 participants