Skip to content

Fix glob pattern file watcher handling#55

Closed
dbkegley wants to merge 1 commit intoisaacphi:mainfrom
dbkegley:file-watcher-fix
Closed

Fix glob pattern file watcher handling#55
dbkegley wants to merge 1 commit intoisaacphi:mainfrom
dbkegley:file-watcher-fix

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

alecbarber pushed a commit to affinda/mcp-language-server that referenced this pull request Jul 11, 2025
@steffen-heil-secforge
Copy link

Please consider this as replacement: #99

@dbkegley
Copy link
Author

dbkegley commented Nov 5, 2025

Closing in favor of #99

@dbkegley dbkegley closed this Nov 5, 2025
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

3 participants