Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

No path is returned on linux #25

Open
nkovacs opened this issue Jun 6, 2014 · 0 comments
Open

No path is returned on linux #25

nkovacs opened this issue Jun 6, 2014 · 0 comments
Labels

Comments

@nkovacs
Copy link

nkovacs commented Jun 6, 2014

inotify doesn't return the path on linux for file events, only the watch descriptor (e->wd), you have to remember which watch descriptor belongs to which path.
For directory events, you get the filename, so you have to find the directory path using the watch descriptor, and add the filename.

nkovacs added a commit to nkovacs/node-pathwatcher that referenced this issue Jun 6, 2014
@izuzak izuzak added the bug label Jul 9, 2014
nkovacs added a commit to nkovacs/node-pathwatcher that referenced this issue Sep 19, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants