Node Watch Versions Save

A wrapper and enhancements for fs.watch

v0.7.4

9 months ago
  • Fix: add export to interface #128 (by @multivoltage)
  • Catch fs.watch exceptions #125 (by @campersau )
  • Fix can't listener error event on incorrect file/directory #123 (by @leijuns)

v0.7.3

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

v0.7.2

2 years ago

0.7.1

3 years ago

Fixes

  • 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

3 years ago

Feature

  • Add an extra flag for skipping sub-directories like node_modules inside filter function.

0.6.4

4 years ago

Fixes

  • Fix ERR_FEATURE_UNAVAILABLE_ON_PLATFORM error for Node v14.

v0.6.3

4 years ago

Fixes

  • Fix types for allowing watching multiple files.

v0.6.2

5 years ago

Fixes

  • Detect temporary editor files more wisely in order to avoid side effects on Windows

v0.6.1

5 years ago
  • Add TypeScript support.
  • Fix race condition of fs.exists and fs.stat.
  • Prevent redundant events on Windows when creating file/directory.

v0.6.0

5 years ago

0.6.0

Special thanks to Timo Tijhof

  • Drop support for node < 6.0
  • Lots of bug fixed.
  • Add ready event for the watcher.