Closed sbuys closed 9 years ago
For how long you tested that code?
A few days. Been using with chokidar for a while.
Are you using last version or piping? I had some problem with multiple logging on one file change.
Yes latest version. I'm not seeing that problem on my machines. Did you try changing the interval?
Add polling options from chokidar. Resolves issues with piping over network and things like virtual machine shared directories.
From paulmillr/chokidar:
"usePolling (default: false). Whether to use fs.watchFile (backed by polling), or fs.watch. If polling leads to high CPU utilization, consider setting this to false. 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. Setting to true explicitly on OS X overrides the useFsEvents default."