watchRecursive method
void
watchRecursive({
- required void onData(
- FileSystemEvent fileSystemEvent
- bool recursive = false,
- bool followLinks = true,
watch recursive
Implementation
void watchRecursive({
required void Function(FileSystemEvent fileSystemEvent) onData,
bool recursive = false,
bool followLinks = true,
}) {
watch().listen(onData);
listSync().watchRecursive(onData: onData);
return;
}