soef / iobroker.js2fs

replicate ioBroker scripts to files
MIT License
6 stars 0 forks source link

allow to chenge chokidar fs.watchFile to fs.watch #21

Closed Hypnos3 closed 6 years ago

Hypnos3 commented 6 years ago

I have some Problems with Network drives. where the Adapter stops working. The chokidar library has a option for the file system watcher "usePolling" which is on default: false

The description to this option is: It is typically necessary to set this to true to successfully watch files over a network, and it may be necessary to successfully watch files in other non-standard situations.

If I set this opthin to true my problems seems to go away, so I have moved this option to the adapter settings.