Skip to content

Commit 9a901a9

Browse files
committed
fixed a bug with watching
1 parent f5f4d2b commit 9a901a9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎lib/NormalModule.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@ NormalModule.prototype.doBuild = function doBuild(options, compilation, resolver
137137
var source = result.result[0];
138138
var sourceMap = result.result[1];
139139
module.cacheable = result.cacheable;
140+
module.fileDependencies = result.fileDependencies;
141+
module.contextDependencies = result.contextDependencies;
140142

141143
if(!Buffer.isBuffer(source) && typeof source !== "string") {
142144
module.error = new Error("Final loader didn't return a Buffer or String");

0 commit comments

Comments
 (0)