paulmillr/chokidar
Chokidar normalises the inconsistent behaviour of fs.watch and fs.watchFile into reliable add, change and unlink events on every platform. It uses native watching by default to keep CPU usage low, falls back to stat polling for network filesystems, and handles recursive watching, depth limits, path filters and symlinks. Editor atomic writes and chunked writes of large files are covered, and the library is used by millions of projects.
Maintenance activity