Comparing version 0.6.0 to 0.6.1
@@ -20,2 +20,3 @@ /* | ||
var platform = require('./platform'); | ||
var isAbsolute = require('absolute-path'); | ||
@@ -221,3 +222,4 @@ // keep track of instances to call multiple times for backwards compatibility | ||
try { | ||
platform(path.join(self.options.cwd, file), self._trigger.bind(self)); | ||
var filepath = (!isAbsolute(file)) ? path.join(self.options.cwd, file) : file; | ||
platform(filepath, self._trigger.bind(self)); | ||
} catch (err) { | ||
@@ -224,0 +226,0 @@ self.emit('error', err); |
{ | ||
"name": "gaze", | ||
"description": "A globbing fs.watch wrapper built from the best parts of other fine watch libs.", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"homepage": "https://github.com/shama/gaze", | ||
@@ -35,3 +35,4 @@ "author": { | ||
"bindings": "~1.2.0", | ||
"nan": "~0.8.0" | ||
"nan": "~0.8.0", | ||
"absolute-path": "0.0.0" | ||
}, | ||
@@ -38,0 +39,0 @@ "devDependencies": { |
@@ -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.1 - Fix for absolute paths. | ||
* 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. | ||
@@ -191,0 +192,0 @@ * 0.5.1 - Use setImmediate (process.nextTick for node v0.8) to defer ready/nomatch events (@amasad). |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
88560
1253
216
1
5
+ Addedabsolute-path@0.0.0
+ Addedabsolute-path@0.0.0(transitive)