Skip to content

Inotifywait close_write problem with  #3

Description

@mbwe

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions