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

auto-watch mode does not detect renames #960

Closed
jrvidal opened this issue Mar 16, 2014 · 4 comments
Closed

auto-watch mode does not detect renames #960

jrvidal opened this issue Mar 16, 2014 · 4 comments

Comments

@jrvidal
Copy link

jrvidal commented Mar 16, 2014

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?

@vojtajina
Copy link
Contributor

Would you be interested in fixing the issue?
See paulmillr/chokidar#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.

@vojtajina
Copy link
Contributor

I mean, this is an issue, but there is already an issue for it - paulmillr/chokidar#35

@jrvidal
Copy link
Author

jrvidal commented Mar 22, 2014

Thanks @vojtajina, I'll take a look

@vojtajina
Copy link
Contributor

@jrvidal I looked into this a bit more, see #974

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

No branches or pull requests

2 participants