Skip to content
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

Handle files that are deleted and recreated #17

Merged
merged 1 commit into from
May 6, 2016
Merged

Handle files that are deleted and recreated #17

merged 1 commit into from
May 6, 2016

Conversation

trevan
Copy link

@trevan trevan commented Sep 28, 2015

If vim is set up to use a swap file, then when a save is changed, it
deletes the original file and renames the swap file into place. This
can sometimes cause chokidar to send two events: "remove" and "add".
Because the DirectoryWatcher doesn't clear out removed files, the
subsequent add event is ignored and the change is not seen.

If vim is set up to use a swap file, then when a save is changed, it
deletes the original file and renames the swap file into place.  This
can sometimes cause chokidar to send two events: "remove" and "add".
Because the DirectoryWatcher doesn't clear out removed files, the
subsequent add event is ignored and the change is not seen.
@sokra sokra merged commit f32a643 into webpack:master May 6, 2016
@sokra
Copy link
Member

sokra commented May 6, 2016

Thanks

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.

2 participants