-
Notifications
You must be signed in to change notification settings - Fork 112
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Renaming a file does not returns "RENAMED" (3) action #78
Comments
I'm very discouraged because of this problem. this.watcher.onDidCreate((createdFileUri) => {
const onDeleteWatcher = this.watcher.onDidDelete((deletedFileUri) => {
// my onRename handler
});
setTimeout(() => {
onDeleteWatcher.dispose();
}, 100);
}); Above example uses VS Code built in FileSystemWatcher. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When renaming a file, no RENAMED (3) action is returned.
Instead a MODIFIED (2) action and a DELETED (1) action is returned.
I created a minimal repo which reproduces the above: https://github.com/andersr/filewatcher-test
Running on OSX, using Node v12.4.0
The text was updated successfully, but these errors were encountered: