NAME
Mojo::File::ChangeNotify::WatcherProcess - helper module for the subprocess
SYNOPSIS
my $w = Mojo::File::ChangeNotify->instantiate_watcher(
directories => ['.'],
on_change => sub($s,$ev) {
for my $e ($ev->@*) {
print "$e->{type} $e->{path}\n";
}
}
);
# note that the watcher might need about 1s to start up