Skip to content

Commit

Permalink
revert
Browse files Browse the repository at this point in the history
  • Loading branch information
MoLow committed Nov 13, 2022
1 parent 7b63ee7 commit 6812665
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/internal/fs/recursive_watch.js
Expand Up @@ -202,6 +202,8 @@ class FSWatcher extends EventEmitter {
this.emit('change', 'rename', pathRelative(this.#rootPath, file));
} else if (currentStats.isDirectory()) {
this.#watchFolder(file);
} else {
this.emit('change', 'change', pathRelative(this.#rootPath, file));
}
});
}
Expand Down

0 comments on commit 6812665

Please sign in to comment.