1.7 KiB
1.7 KiB
Changelog
0.7.1
- Don't normalize events for Windows or it might lose essential events.
- Fix the functionality of the
.close()method before watcher is ready.
0.7.0
- Add an extra flag for skipping sub-directories inside filter function.
0.6.4
- Fix
ERR_FEATURE_UNAVAILABLE_ON_PLATFORMerror for Node v14.
0.6.3
- Types: Allow watching multiple files.
0.6.2
- Detect temporary editor files more wisely in order to avoid side effects on Windows.
0.6.1
- Add TypeScript support.
- Fix race condition of
fs.existsandfs.stat. - Prevent redundant events on Windows when creating file/directory.
0.6.0
Special thanks to Timo Tijhof
- Drop support for node < 6.0
- Add
readyevent for the watcher. - Lots of bug fixed.
0.5.9
- Fix function detection.
- Emit
closeevent after calling.close(). - Don't emit any events after close.
- Change default
delayto 200ms.
0.5.8
- Fix async function detection.
0.5.7
- Add
delayoption and set default to 100ms.
0.5.6
- Fix recursive watch with filter option.
0.5.5
- Remove duplicate events from a composed watcher.
0.5.4
- Accept Buffer filename.
- Add support for
encodingoption.
0.5.3
- The
filteroption can be of either Function or RegExp type.
0.5.0
- The
recursiveoption is default to befalse. - The callback function will always provide an event name.
0.4.0
- Returns a fs.FSWatcher like object.