shouldRun method
Implementation
@override
bool shouldRun(WatchEvent event) =>
event.path.startsWith(config!.dir!) && event.type != ChangeType.MODIFY;
@override
bool shouldRun(WatchEvent event) =>
event.path.startsWith(config!.dir!) && event.type != ChangeType.MODIFY;