Comparing version 0.1.1 to 0.1.2
@@ -22,3 +22,2 @@ /* | ||
// globals | ||
var nodeVersion = process.versions.node.substring(0, 3); | ||
var delay = 10; | ||
@@ -274,3 +273,5 @@ | ||
fs.watchFile(file, opts, function(curr, prev) { | ||
done(null, file); | ||
if (curr.mtime.getTime() !== prev.mtime.getTime()) { | ||
done(null, file); | ||
} | ||
}); | ||
@@ -277,0 +278,0 @@ } catch (err) { |
{ | ||
"name": "gaze", | ||
"description": "A globbing fs.watch wrapper built from the best parts of other fine watch libs.", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"homepage": "https://github.com/shama/gaze", | ||
@@ -6,0 +6,0 @@ "author": { |
@@ -141,2 +141,3 @@ # gaze [![Build Status](https://secure.travis-ci.org/shama/gaze.png?branch=master)](http://travis-ci.org/shama/gaze) | ||
## Release History | ||
* 0.1.2 - Read triggering changed event fix | ||
* 0.1.1 - Minor fixes | ||
@@ -143,0 +144,0 @@ * 0.1.0 - Initial release |
@@ -77,3 +77,3 @@ 'use strict'; | ||
this.on('added', function(filepath) { | ||
test.equal(path.relative(process.cwd(), filepath), 'sub/tmp.js'); | ||
test.equal(path.relative(process.cwd(), filepath), path.join('sub', 'tmp.js')); | ||
}); | ||
@@ -80,0 +80,0 @@ fs.writeFileSync(path.resolve(__dirname, 'fixtures', 'sub', 'tmp'), 'Dont add me!'); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Non-existent author
Supply chain riskThe package was published by an npm account that no longer exists.
Found 1 instance in 1 package
24231
577
148
0
1