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

Inotifywait close_write problem with #3

Open
mbwe opened this issue May 25, 2015 · 0 comments
Open

Inotifywait close_write problem with #3

mbwe opened this issue May 25, 2015 · 0 comments

Comments

@mbwe
Copy link

mbwe commented May 25, 2015

It seems node-inotifywait does not handle close-write events properly. For example, when i watch a directory, and i copy a file to that directory, the first event emitted is the temp-file, the temp-file is going to be renamed after the file is completely copied over to the watched directory. Thus leaving me with a file name that does not exists anymore. The linux package inotifywait flag "close_write" behavior is what i need.

Is the Linux inotifywait flag called: "close_write" supported by the node-inotifywait package? If no, considering it at a feature request :) Otherwise, how would i handle renamed files?

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

No branches or pull requests

1 participant