-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
Adding the write close event #313
Comments
👍 |
1 similar comment
+1 |
Not in a portable way. It would be inotify only (maybe windows too). See #217 |
We have to write our own "quiet time" logic to ensure the the file has finished being written to? |
Unfortunately the lack of this feature makes this library very difficult to use. There are numerous software applications that write in a serialized fashion to the file, generating many modified events. It's not safe to respond to any of those events and access the file. Is there some other way to detect this state, and/or lock it? |
Even if the write-close event is not portable, let's implement it where we can. We are open to suggestions and PRs :) |
Finally implemented the inotify part with 2fab7c2 (will be part of the 1.0.3 version). |
Would it be possible to have a write close event?
This would be valuable to monitor file when copy finishes.
The text was updated successfully, but these errors were encountered: