Skip to content

Handle files that are deleted and recreated - #17

Merged
sokra merged 1 commit into
webpack:masterfrom
trevan:master
May 6, 2016
Merged

Handle files that are deleted and recreated#17
sokra merged 1 commit into
webpack:masterfrom
trevan:master

Conversation

@trevan

@trevan trevan commented Sep 28, 2015

Copy link
Copy Markdown

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

sokra commented May 6, 2016

Copy link
Copy Markdown
Member

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