Repository URL to install this package:
|
Version:
1.3.1-1468329898 ▾
|
ignoredignored files/globs while cwd option is setalwaysStat option and removed files.close() method in fs.watch mode with persistent: false optionwatch, add, and unwatch methodsunwatch method to turn off watching of previously watched pathsignored option allowing regex, function, glob, or array courtesy of anymatchcwd option to set base dir from which relative paths are deriveddepth option for limiting recursionalwaysStat option to ensure fs.Stats gets passed with every add/change eventready event emitted when initial fs tree scan is done and watcher is ready for changesraw event exposing data and events from the lower-level watch modulesfollowSymlinks option to impact whether symlinks' targets or the symlink files themselves are watchedatomic option for normalizing artifacts from text editors that use atomic write methodspersistent: false mode when change events occurfs.watch mode that caused watcher to leak into cwdfollowSymlinks option, which defaults to truefs.watchatomic option to normalize events from editors using atomic writes
raw event which exposes data from the underlying watch methodfs.watch instantiation failsready event, which is emitted after initial file scan completesundefinedFSWatcher properties to indicate they're privateconsole.log statement.fs.watch and fs.watchFile as wellfs.watch upon invocationnpm rebuild on non-Macsunlink instead of unlinkDirignored option in fsevents modepersistent: false./addDir and unlinkDir events.Watcher#close now also removes all event listeners.options.ignored is two-argument function, it will
also be called after stating the FS, with stats argument.unlink is no longer emitted on directories.usePolling option (default: true).
When false, chokidar will use fs.watch as backend.
fs.watch is much faster, but not like super reliable.ignoreInitial option.add and change events
as second arguments.change events before unlink.ignoreInitial that allows to ignore initial add events.ignorePermissionErrors that allows to ignore ENOENT etc perm errors.interval and binaryInterval that allow to change default
fs polling intervals.all event that receives two args (event name and path) that
combines add, change and unlink events.fs.watchFile on node.js 0.8 on windows.unlink event are no longer emitted for directories, for consistency
with add.watch().chokidar.watch().