Closed jrvidal closed 10 years ago
Would you be interested in fixing the issue? See https://github.com/paulmillr/chokidar/issues/35
You can try setting usePolling: false
(which will use OS events rather than polling), but that has other problems... Probably the best workaround is to set "atomic_save": false
(in your Sublime Text settings).
I'm closing this, as it is a known bug in chokidar/nodejs.
I mean, this is an issue, but there is already an issue for it - https://github.com/paulmillr/chokidar/issues/35
Thanks @vojtajina, I'll take a look
@jrvidal I looked into this a bit more, see https://github.com/karma-runner/karma/issues/974
Some editors (Sublime 3 in my case) "save" the changes by writing to a temp file and then renaming. This is not detected by the watcher, and in any case chokidar does not emit a
rename
event. Would it be possible to detect them?