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: match on All event #620

Closed
wants to merge 2 commits into from
Closed

Conversation

xobs
Copy link

@xobs xobs commented Nov 13, 2023

Some platforms don't support precise notification kinds and instead report All as an event kind. This is what the notification system reports when it doesn't know what else to report.

It's also the kind that's used in "imprecise" mode.

This fixes watching on Windows, and may address issues reported in #232.

Checklist

  • Updated CHANGELOG.md describing pertinent changes.
  • [-] Updated README.md with pertinent info (may not always apply).
  • [-] Updated site content with pertinent info (may not always apply).
  • Squash down commits to one or two logical commits which clearly describe the work you've done. If you don't, then Dodd will 🤓.

xobs added 2 commits November 13, 2023 18:30
Some platforms don't support precise notification kinds and instead
report `All` as an event kind. This is what the notification system
reports when it doesn't know what else to report.

It's also the kind that's used in "imprecise" mode.

This fixes watching on Windows, and may address issues reported in trunk-rs#232.

Signed-off-by: Sean Cross <[email protected]>
@ctron
Copy link
Collaborator

ctron commented Nov 20, 2023

There had been a bunch of fixes regarding this in trunk-ng, maybe you can check if that's already sufficient for you.

@ctron
Copy link
Collaborator

ctron commented Dec 12, 2023

I think with the merge of #623, which already contained this fix, this PR should no longer be needed. Please let me know if I missed something.

@xobs
Copy link
Author

xobs commented Dec 12, 2023

Sounds good. Closing this PR.

@xobs xobs closed this Dec 12, 2023
@xobs xobs deleted the fix-watch-windows branch December 12, 2023 09:13
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