gulp-watch-jade
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -5,3 +5,3 @@ 'use strict'; | ||
var fs = require('fs'); | ||
var glob = require('glob'); | ||
var glob_parent = require('glob-parent'); | ||
var es = require('event-stream'); | ||
@@ -15,2 +15,3 @@ var vinyl = require('vinyl-file'); | ||
var delay = options.delay || 100; | ||
var base = path.resolve(glob_parent(globs)); | ||
@@ -30,3 +31,3 @@ var dependency = jade_dependency(globs, options); | ||
if (!files[abs_path]) { | ||
files[abs_path] = vinyl.readSync(abs_path); | ||
files[abs_path] = vinyl.readSync(abs_path, {base: base}); | ||
} | ||
@@ -33,0 +34,0 @@ } |
{ | ||
"name": "gulp-watch-jade", | ||
"description": "Find jade files that are affected by dependencies for use with gulp-watch", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"homepage": "https://github.com/lishid/gulp-watch-jade", | ||
@@ -18,3 +18,3 @@ "repository": "git://github.com/lishid/gulp-watch-jade.git", | ||
"event-stream": "^3.3.2", | ||
"glob": "^7.0.3", | ||
"glob-parent": "^2.0.0", | ||
"jade-dependency": "^1.0.1", | ||
@@ -21,0 +21,0 @@ "vinyl-file": "^2.0.0" |
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
5844
68
+ Addedglob-parent@^2.0.0
+ Addedglob-parent@2.0.0(transitive)
+ Addedis-extglob@1.0.0(transitive)
+ Addedis-glob@2.0.1(transitive)
- Removedglob@^7.0.3