onWatchDirectory method

  1. @override
Stream<bool> onWatchDirectory(
  1. String path
)
override

Implementation

@override
Stream<bool> onWatchDirectory(String path) => toDirectory(path)
    .watch(events: FileSystemEvent.all, recursive: false)
    .map((event) => true)
    .handleError((e) => false);