diff --git a/src/nodefs-handler.ts b/src/nodefs-handler.ts index efbd486b..5b9d5549 100644 --- a/src/nodefs-handler.ts +++ b/src/nodefs-handler.ts @@ -372,12 +372,10 @@ export default class NodeFsHandler { if (parent.has(basename)) return; const listener = async (path, newStats) => { - console.log({path, newStats}); if (!this.fsw._throttle(THROTTLE_MODE_WATCH, file, 5)) return; if (!newStats || newStats.mtimeMs === 0) { try { const newStats = await stat(file); - console.log({newStats, prevStats}); if (this.fsw.closed) return; // Check that change event was not fired because of changed only accessTime. const at = newStats.atimeMs; @@ -393,7 +391,6 @@ export default class NodeFsHandler { prevStats = newStats; } } catch (error) { - console.log({error}); // Fix issues where mtime is null but file is still present this.fsw._remove(dirname, basename); }