changes property

  1. @override
Stream<WatchEvent> get changes
override

Watch for changes to this file.

File watchers are initialized asynchronously so modifications made for a short period after calling this getter may be lost. Use watch() and await the ready Future that completes once initialization is complete.

Implementation

@override
Stream<WatchEvent> get changes {
  return file.watch().toAnalyzerStream();
}