braidfs 0.0.109 → 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.
Files changed (2) hide show
  1. package/index.js +2 -8
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -333,14 +333,8 @@ async function scan_files() {
333
333
  )
334
334
  console.log(`scan files.. `, timestamp)
335
335
 
336
- // this can be removed in the future;
337
- // some debug information about chokidar:
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)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braidfs",
3
- "version": "0.0.109",
3
+ "version": "0.0.111",
4
4
  "description": "braid technology synchronizing files and webpages",
5
5
  "author": "Braid Working Group",
6
6
  "repository": "braid-org/braidfs",
@@ -8,7 +8,7 @@
8
8
  "dependencies": {
9
9
  "braid-http": "~1.3.79",
10
10
  "braid-text": "~0.2.45",
11
- "chokidar": "^3.6.0"
11
+ "chokidar": "^4.0.3"
12
12
  },
13
13
  "bin": {
14
14
  "braidfs": "./index.sh"