Skip to content

Conversation

@fishman
Copy link

@fishman fishman commented Jul 16, 2019

inotify notifies when files have finished being written to. To reliably
detect if a write to a file has finished the event necessary is
CLOSE_WRITE.

What does this pull request do?

Adds CLOSE_WRITE and CLOSE_NOWRITE support for linux

Where should the reviewer start?

How should this be manually tested?

On a Linux machine you can just copy a file into a folder. Close will be triggered even when a file is not changed.

Update will only trigger when a write was recently finished.

inotify notifies when files have finished being written to. To reliably
detect if a write to a file has finished the event necessary is
CLOSE_WRITE.
@nathany
Copy link
Contributor

nathany commented Oct 5, 2019

Sorry, but adding new events that only work on Linux and don't do anything on the other supported platforms isn't a great solution.

If you have some ideas, please discuss on #22.

@nathany nathany closed this Oct 5, 2019
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

Successfully merging this pull request may close these issues.

3 participants