Comparing version 0.6.1 to 0.6.2
@@ -272,3 +272,5 @@ /* | ||
platform(filepath, self._trigger.bind(self)); | ||
self._emitAll('added', filepath); | ||
if (globule.isMatch(self._patterns, relpath, self.options)) { | ||
self._emitAll('added', filepath); | ||
} | ||
self._wasAddedSub(filepath); | ||
@@ -278,3 +280,5 @@ } else if (globule.isMatch(self._patterns, relpath, self.options)) { | ||
platform(filepath, self._trigger.bind(self)); | ||
self._emitAll('added', filepath); | ||
if (globule.isMatch(self._patterns, relpath, self.options)) { | ||
self._emitAll('added', filepath); | ||
} | ||
} | ||
@@ -328,3 +332,3 @@ } | ||
done = nextback(done || function() {}); | ||
helper.flatToTree(platform.getWatchedPaths(), this.options.cwd, false, done); | ||
helper.flatToTree(platform.getWatchedPaths(), this.options.cwd, false, false, done); | ||
return this; | ||
@@ -331,0 +335,0 @@ }; |
{ | ||
"name": "gaze", | ||
"description": "A globbing fs.watch wrapper built from the best parts of other fine watch libs.", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"homepage": "https://github.com/shama/gaze", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -189,2 +189,3 @@ # gaze [![Build Status](http://img.shields.io/travis/shama/gaze.svg)](https://travis-ci.org/shama/gaze) [![gittip.com/shama](http://img.shields.io/gittip/shama.svg)](https://www.gittip.com/shama) | ||
## Release History | ||
* 0.6.2 - Fix argument error with watched(). Fix for erroneous added events on folders. Ignore msvs build error 4244. | ||
* 0.6.1 - Fix for absolute paths. | ||
@@ -191,0 +192,0 @@ * 0.6.0 - Uses native OS events (fork of pathwatcher) but can fall back to stat polling. Everything is async to avoid blocking, including `relative()` and `watched()`. Better error handling. Update to globule@0.2.0. No longer watches `cwd` by default. Added `mode` option. Better `EMFILE` message. Avoids `ENOENT` errors with symlinks. All constructor arguments are optional. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88863
1257
217