-
-
Notifications
You must be signed in to change notification settings - Fork 965
Closed
Description
When file is changed, every write() call generate WRITE event. That is not what somebody usually want when waiting to file change. WRITE event can occur in partially written file, you get several write events, etc.
CLOSE_WRITE on the other hand occur when file actually changed (at least written) and close.
I think for inotify it is better to use CLOSE_WRITE instead of WRITE or make separate event for it.
Reactions are currently unavailable