Subject: | Allow list of paths to watch in single watcher |
FSEventsStreamCreate appears to take a CFArray of paths to watch (https://developer.apple.com/library/mac/documentation/Darwin/Reference/FSEvents_Ref/index.html#//apple_ref/c/func/FSEventStreamCreate). I'd love to expose this so that:
my $fsev = Mac::FSEvents->new(
paths => [qw( foo bar baz )],
);
and
my $fsev = Mac::FSEvents->new( [qw( foo bar baz )] );
works.