-
Notifications
You must be signed in to change notification settings - Fork 5.9k
fix: support "other" event type in FSWatcher #12836
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
fix: support "other" event type in FSWatcher #12836
Conversation
lucsoft
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice addition!
bartlomieju
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any way we can test this addition?
See the PR description :-) |
|
LGTM then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hard to write a test for?
I can't read either.
See PR description 😉 |
kitsonk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM too, now that I actually read things.
This commit adds support for "other" events in `FSWatcher`. Flags on events are now exposed via the `flag` property on `FsEvent`.
This commit adds support for "other" events in
FSWatcher. Flags onevents are now exposed via the
flagproperty onFsEvent.There are no tests for this change, as the only known cause for this
"other"event being emitted, is watching an SMB share on macOS. Not something we can
really test for in CI.
Closes #12097