@file-services/node
Advanced tools
Comparing version 1.0.5 to 1.0.6
@@ -91,7 +91,7 @@ "use strict"; | ||
this.fsWatchers.delete(path); | ||
// rewatch if path points to a new inode | ||
if (stats) { | ||
await this.ensureFsWatcher(path, stats); | ||
} | ||
} | ||
// rewatch if path points to a new inode | ||
if (stats) { | ||
await this.ensureFsWatcher(path, stats); | ||
} | ||
} | ||
@@ -98,0 +98,0 @@ const watchEvent = { path, stats }; |
{ | ||
"name": "@file-services/node", | ||
"description": "Node.js file system implementation.", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"main": "cjs/index.js", | ||
@@ -31,3 +31,3 @@ "types": "cjs/index.d.ts", | ||
}, | ||
"gitHead": "9df4ea24c7ae4b704badc22b362815187df0795c" | ||
"gitHead": "3bc0c26eec0487d49c02f5f974f3a9e66e3d2db1" | ||
} |
@@ -134,8 +134,7 @@ import { promisify } from 'util'; | ||
this.fsWatchers.delete(path); | ||
// rewatch if path points to a new inode | ||
if (stats) { | ||
await this.ensureFsWatcher(path, stats); | ||
} | ||
} | ||
// rewatch if path points to a new inode | ||
if (stats) { | ||
await this.ensureFsWatcher(path, stats); | ||
} | ||
} | ||
@@ -142,0 +141,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
28543