Comparing version 0.6.0 to 0.6.1
@@ -41,2 +41,3 @@ var through = require('through'); | ||
var fwatchers = {}; | ||
var fwatcherFiles = {}; | ||
b.on('bundle', function (bundle) { | ||
@@ -46,3 +47,4 @@ bundle.on('transform', function (tr, mfile) { | ||
if (!fwatchers[mfile]) fwatchers[mfile] = []; | ||
if (!fwatcherFiles[mfile]) fwatcherFiles[mfile] = []; | ||
tr.on('file', function (file) { | ||
@@ -57,2 +59,3 @@ if (fwatchers[mfile].indexOf(file) >= 0) return; | ||
fwatchers[mfile].push(w); | ||
fwatcherFiles[mfile].push(file); | ||
}); | ||
@@ -83,2 +86,3 @@ }); | ||
delete fwatchers[id]; | ||
delete fwatcherFiles[id]; | ||
} | ||
@@ -85,0 +89,0 @@ queuedCloses[id] = watchers[id]; |
{ | ||
"name": "watchify", | ||
"version": "0.6.0", | ||
"version": "0.6.1", | ||
"description": "watch mode for browserify builds", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
9557
11
189
3