Skip to content

Commit ad6fb10

Browse files
committed
testOnly
1 parent 620df92 commit ad6fb10

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

DirectoryWatcher.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -543,6 +543,8 @@ class DirectoryWatcher extends EventEmitter {
543543
process.nextTick(() => {
544544
if (this.closed) return;
545545
fs.readdir(this.path, (err, items) => {
546+
console.error(">>> 2", this.path, err, this.closed);
547+
546548
if (this.closed) return;
547549
if (err) {
548550
if (err.code === "ENOENT" || err.code === "EPERM") {
@@ -623,7 +625,7 @@ class DirectoryWatcher extends EventEmitter {
623625
});
624626
for (const itemPath of itemPaths) {
625627
fs.lstat(itemPath, (err2, stats) => {
626-
console.error(">>> ", itemPath, err2, this.closed);
628+
console.error(">>> 1", itemPath, err2, this.closed);
627629
if (this.closed) return;
628630
if (err2) {
629631
if (

0 commit comments

Comments
 (0)