SourceWatcher constructor

SourceWatcher(
  1. String dirPath, {
  2. Iterable<String> excludePaths = const [],
})

Watches the local files, and updates on events

Implementation

SourceWatcher(
  this.dirPath, {
  this.excludePaths = const [],
}) : _watcher = DirectoryWatcher(dirPath);