braidfs 0.0.108 → 0.0.109

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 +4 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -291,8 +291,10 @@ async function watch_files() {
291
291
  await w?.close()
292
292
 
293
293
  console.log('watch files..')
294
- watch_files.watcher = require('chokidar').watch(sync_base).
295
- on('add', x => chokidar_handler(x, 'add')).
294
+ watch_files.watcher = require('chokidar').watch(sync_base, {
295
+ useFsEvents: true,
296
+ usePolling: false,
297
+ }). on('add', x => chokidar_handler(x, 'add')).
296
298
  on('change', x => chokidar_handler(x, 'change')).
297
299
  on('unlink', x => chokidar_handler(x, 'unlink'))
298
300
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braidfs",
3
- "version": "0.0.108",
3
+ "version": "0.0.109",
4
4
  "description": "braid technology synchronizing files and webpages",
5
5
  "author": "Braid Working Group",
6
6
  "repository": "braid-org/braidfs",