Kyle Robinson Young

Results 300 comments of Kyle Robinson Young

> Is there any better way to prune branches from the search tree? Don't include patterns that match in the first place. AFAIK, there isn't a mechanism or library that...

@thejohnfreeman Awesome, glad to hear it is very simple. Looking forward to your patch. :)

> Couldn't gaze.remove() take patterns and ignore those? +1 as it would make it a bit more consistent with the `add()` api. Created #143 As @schmod said, the initial glob...

@thejohnfreeman Nice! I'll give it a try. Thanks!

`0.6.x` now only tracks once per file even with multiple instances watching the same file for efficiency. There is a mechanism to trigger each instance from only receiving a single...

@nkovacs Thanks! I'm currently trying to fix this within `lib/platform.js` so instead of ignoring multiple callbacks to the same file, it will call each of them. Then we can remove...

Here is the idea for the fix: https://github.com/shama/gaze/commit/d62320e457f8de2d7814b03981da1b365fc58d5b Currently fails a bunch of other tests, so still working it out.

@DavidSouther I recommend using `[email protected]` for now. Or only use a single instance and use `.add()` to add additional patterns to be watched unfortunately. Hopefully I can get it fixed...

@DavidSouther The API has changed slightly from `0.5` to `0.6`. Could you post an example of what you have tried?

Just a heads up, in `0.5` the `watched` method is synchronous, `matched = @gaze.watched`. Not sure why the events wouldn't be firing though. I should have a fix for this...