-
Notifications
You must be signed in to change notification settings - Fork 66
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
add
without change
.
#75
Comments
The change is on the directory, right? You can filter the event yourself for all directory changes |
A file is being added to the directory, which triggers an |
I forgot about this but we do filter out all change events on directories. I tried your repro but it didn't work for me: OS/X Node v7.2.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, creating and writing to a file in a watched directory with a method like
fs.writeFileSync
causes both anadd
and achange
event to be fired. Is there a way to configsane
to only trigger theadd
event in cases like this? I have a repository demonstrating the issue.The text was updated successfully, but these errors were encountered: