Miss any of our Open RFC calls?Watch the recordings here! »

fs-watch-observable

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

Install

npm i fs-watch-observable

DownloadsWeekly Downloads

3

Version

1.0.0

License

WTFPL

Unpacked Size

7.64 kB

Total Files

6

Last publish

Collaborators

  • avatar