watchDartSourceCodeFiles method

Stream<FileSystemEvent> watchDartSourceCodeFiles()

Implementation

Stream<FileSystemEvent> watchDartSourceCodeFiles() {
  return watch(recursive: true).where(
    (e) =>
        e.path.endsWith('.dart') &&
        !e.path.endsWith('.g.dart') &&
        !e.path.endsWith('.mocks.dart'),
  );
}