Skip to content

Latest commit

 

History

History
129 lines (67 loc) · 1.91 KB

Changelog.md

File metadata and controls

129 lines (67 loc) · 1.91 KB

Changelog

0.7.3

  • Fixed the type definition of callback function. (by @xieyuheng)
  • Optimization to the guard function. (by @wmertens)
  • Switched to Github Actions for CI.



0.7.2

  • Reduce the released npm package size.



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_PLATFORM error 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.exists and fs.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 ready event for the watcher.
  • Lots of bug fixed.



0.5.9

  • Fix function detection.
  • Emit close event after calling .close().
  • Don't emit any events after close.
  • Change default delay to 200ms.



0.5.8

  • Fix async function detection.



0.5.7

  • Add delay option 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 encoding option.



0.5.3

  • The filter option can be of either Function or RegExp type.



0.5.0

  • The recursive option is default to be false.
  • The callback function will always provide an event name.



0.4.0