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

Need to catch the kFSEventStreamEventFlagUserDropped on Mac #124

Open
michilu opened this issue Aug 23, 2012 · 1 comment
Open

Need to catch the kFSEventStreamEventFlagUserDropped on Mac #124

michilu opened this issue Aug 23, 2012 · 1 comment

Comments

@michilu
Copy link

michilu commented Aug 23, 2012

The kFSEventStreamEventFlagUserDropped ( 0x00000002 ) is thrown frequently in Mac environments.

It is thrown only kFSEventStreamEventFlagUserDropped when update the file.

see kFSEventStreamEventFlagUserDropped

The kFSEventStreamEventFlagUserDropped or kFSEventStreamEventFlagKernelDropped flags may be set in addition to the kFSEventStreamEventFlagMustScanSubDirs flag to indicate that a problem occurred in buffering the events (the particular flag set indicates where the problem occurred) and that the client must do a full scan of any directories (and their subdirectories, recursively) being monitored by this stream. If you asked to monitor multiple paths with this stream then you will be notified about all of them. Your code need only check for the kFSEventStreamEventFlagMustScanSubDirs flag; these flags (if present) only provide information to help you diagnose the problem.

p.s.
I am tried MacFSEvents because it do not work well with my Mac.
MacFSEvents

@BoboTiG
Copy link
Collaborator

BoboTiG commented Jan 4, 2023

Isn't it good since #717?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants