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);

Package Sidebar

Install

npm i fs-watch-observable

Weekly Downloads

19

Version

2.0.0

License

WTFPL

Unpacked Size

8.43 kB

Total Files

6

Last publish

Collaborators

  • nixxquality