-
Notifications
You must be signed in to change notification settings - Fork 52
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
Can't watch multiple paths in fsevents #36
Comments
Many usages of
|
Hmm, this looks like a "known" issue? |
for what it's worth, it seems like this only happen when a Device is specified on EventStream. if you use per-host streams (rather than per-disk streams), everything works ok. |
Which version of macOS are you using?
Please describe the issue that occurred.
When there are multiple paths in the Path slice in the
EventStream
struct callingStart()
causes an error to be printed fromfsevents
itself:Are you able to reproduce the issue? Please provide steps to reproduce and a code sample if possible.
Here's a version of
example/main.go
which illustrates this problem:Running this results in:
Any events produced in either of these directories are not reported like they are if you're only watching one directory.
I'm running this on an iMac with a fusion drive, which is the only machine-specific thing I can think of which is causing this. I imagine though that a fusion drive appears as one device as far as FSEvents is concerned?
I'm also unsure which path you are supposed to use to look up the device.
The text was updated successfully, but these errors were encountered: