flint / Lurker

Resource Tracking
http://lurker.rtfd.org
MIT License
179 stars 24 forks source link

Watching globs with exclusion support #14

Open laland opened 9 years ago

laland commented 9 years ago

Hi! It would be nice to have ability to add support for tracking globs, like:

$watcher->track('twig.templates', '/path/to/views/*.twig', FilesystemEvent::ALL);

And ability to exlude dirs or files from tracking.

henrikbjorn commented 9 years ago

Maybe a PR integrating https://github.com/webmozart/glob could be done?

laland commented 9 years ago

Oh, great, i will do a PR, but what about exlusion support? What syntax should it be like?

staabm commented 5 years ago

we would also love to have this feature... is a PR welcome?