braidfs 0.0.110 → 0.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -8
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -333,14 +333,8 @@ async function scan_files() {
|
|
|
333
333
|
)
|
|
334
334
|
console.log(`scan files.. `, timestamp)
|
|
335
335
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
var internal = 'unknown'
|
|
339
|
-
for (var k in watch_files?.watcher ?? {}) {
|
|
340
|
-
if (k.startsWith('_fsEvents')) internal = "_fsEvents"
|
|
341
|
-
if (k.startsWith('_nodeFs')) internal = "_nodeFs"
|
|
342
|
-
}
|
|
343
|
-
console.log(`chokidar info: FSEvents=${watch_files?.watcher?.options?.useFsEvents}, polling=${watch_files?.watcher?.options?.usePolling}, internal=${internal}`)
|
|
336
|
+
if (watch_files?.watcher?.options?.usePolling)
|
|
337
|
+
console.log('Warning: BAD PERFORMANCE!! Filesystem using polling!')
|
|
344
338
|
|
|
345
339
|
if (await f(sync_base))
|
|
346
340
|
on_watcher_miss(`scanner picked up a change that the watcher should have gotten`, false)
|