fs-watch-observable
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

This is a drop-in replacement for fs.Watch that emits change events on an Observable stream.

merge(of(null /* first run */), watchObservable(Files.Settings)).pipe(
  debounceTime(50),
  mergeMap(loadMods),
  map(updateLoadedMods)
).subscribe(console.log);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.0
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i fs-watch-observable

Weekly Downloads

0

Version

2.0.0

License

WTFPL

Unpacked Size

8.43 kB

Total Files

6

Last publish

Collaborators

  • nixxquality