Skip to content

fix: watcher unnecessarily waiting for discover position event to be set #496

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
Apr 13, 2025

Conversation

brunotvs
Copy link
Contributor

@brunotvs brunotvs commented Apr 4, 2025

#479 introduced a small bug where the watcher would wait for the discover_positions_event by the listener set up by the init function. This PR fixes it by checking if the changed file is relevant to the discover_position_event.

@brunotvs brunotvs changed the title fix: watcher unnecessary waiting for discover position event to be set fix: watcher unnecessarily waiting for discover position event to be set Apr 4, 2025
@brunotvs
Copy link
Contributor Author

brunotvs commented Apr 4, 2025

It could be related to #482

@rcarriga rcarriga merged commit 01d4b58 into nvim-neotest:master Apr 13, 2025
4 of 6 checks passed
@rcarriga
Copy link
Collaborator

Thanks for the PR!

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