- Add
cwd
option
- Fixing a botched
npm publish
- Glob support for
watch
andadd
methods - New
unwatch
method to turn off watching of previously watched paths - More flexible
ignored
option allowing regex, function, glob, or array - New options:
depth
for limiting recursionalwaysStat
to ensurefs.Stats
gets passed with every add/change event
- ICYMI
- 0.12 added full symlink support,
followSymlinks
andatomic
options, andraw
event - 0.11 added the
ready
event
- 0.12 added full symlink support,
- Fix bug which breaks
persistent: false
mode when change events occur
- Fix bug with matching parent path detection for fsevents instance sharing
- Fix bug with ignored watch path in nodefs modes
- Fix bug in
fs.watch
mode that caused watcher to leak intocwd
- Fix bug preventing ready event when there are symlinks to ignored paths
- Fix handling of special files such as named pipes and sockets
- Fix recursive symlink handling and some other path resolution problems
- Fix a case where file symlinks were not followed properly
- Symlink support
- Add
followSymlinks
option, which defaults totrue
- Add
- Change default watch mode on Linux to non-polling
fs.watch
- Add
atomic
option to normalize events from editors using atomic writes- Particularly Vim and Sublime
- Add
raw
event which exposes data from the underlying watch method
- Fix a bug where an error is thrown when
fs.watch
instantiation fails
- Add a
ready
event, which is emitted after initial file scan completes - Fix issue with options keys passed in defined as
undefined
- Rename some internal
FSWatcher
properties to indicate they're private
- Fix some leftover issues from adding watcher reuse
- Remove accidentally committed/published
console.log
statement. - Sry 'bout that 😿
- Apply watcher reuse methodology to
fs.watch
andfs.watchFile
as well
- More efficient creation/reuse of FSEvents instances to avoid system limits
- Reduce simultaneous FSEvents instances allowed in a process
- Handle errors thrown by
fs.watch
upon invocation
- Limit number of simultaneous FSEvents instances (fall back to other methods)
- Prevent some cases of EMFILE errors during initialization
- Fix ignored files emitting events in some fsevents-mode circumstances
- Bump fsevents dependency to ~0.3.1
- Should resolve build warnings and
npm rebuild
on non-Macs
- Should resolve build warnings and
- Fix removed dir emitting as
unlink
instead ofunlinkDir
- Fix issues with file changing to dir or vice versa (gh-165)
- Fix handling of
ignored
option in fsevents mode
- Improve individual file watching
- Fix fsevents keeping process alive when
persistent: false
- Improve handling of text editor atomic writes
- Many stability and consistency improvements
- Resolve many cases of duplicate or wrong events
- Correct for fsevents inconsistencies
- Standardize handling of errors and relative paths
- Fix issues with watching
./
- Updated fsevents to 0.3
- Update per-system defaults
- Fix issues with closing chokidar instance
- Fix duplicate change events on win32
- Fixed npm issues related to fsevents dep.
- Updated fsevents to 0.2.
- Optional deps are now truly optional on windows and linux.
- Rewritten in JS, again.
- Fixed some FSEvents-related bugs.
- Added ultra-fast low-CPU OS X file watching with FSEvents. It is enabled by default.
- Added
addDir
andunlinkDir
events. - Polling is now disabled by default on all platforms.
Watcher#close
now also removes all event listeners.
- When
options.ignored
is two-argument function, it will also be called after stating the FS, withstats
argument. unlink
is no longer emitted on directories.
- Added
usePolling
option (default:true
). Whenfalse
, chokidar will usefs.watch
as backend.fs.watch
is much faster, but not like super reliable.
- Fixed watching initially empty directories with
ignoreInitial
option.
- Added node.js 0.10 support.
- File attributes (stat()) are now passed to
add
andchange
events as second arguments. - Changed default polling interval for binary files to 300ms.
- Removed emitting of
change
events beforeunlink
.
- Removed postinstall script to prevent various npm bugs.
- When starting to watch non-existing paths, chokidar will no longer throw ENOENT error.
- Fixed bug with absolute path.
- Added a bunch of new options:
ignoreInitial
that allows to ignore initialadd
events.ignorePermissionErrors
that allows to ignore ENOENT etc perm errors.interval
andbinaryInterval
that allow to change default fs polling intervals.
- Added
all
event that receives two args (event name and path) that combinesadd
,change
andunlink
events. - Switched to
fs.watchFile
on node.js 0.8 on windows. - Files are now correctly unwatched after unlink.
unlink
event are no longer emitted for directories, for consistency withadd
.
- Prevented creating of duplicate 'add' events.
- Fixed a bug when new files in new directories hadn't been added.
- Fixed a bug when unlinked files emitted events after unlink.
- Fixed watching of files on windows.
- Fixed watcher signature.
- Fixed invalid API bug when using
watch()
.
- Rewritten in js.
- Changed api to
chokidar.watch()
. - Fixed compilation on windows.
- Initial release.