Skip to content

Commit

Permalink
Merge 14c43e0 into d9ac043
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jan 18, 2017
2 parents d9ac043 + 14c43e0 commit cd98a40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Compilation.js
Expand Up @@ -288,7 +288,7 @@ class Compilation extends Tapable {
}

if(recursive) {
return process.nextTick(_this.processModuleDependencies.bind(_this, dependentModule, callback));
return setTimeout(_this.processModuleDependencies.bind(_this, dependentModule, callback), 100);
} else {
return process.nextTick(callback);
}
Expand All @@ -312,7 +312,7 @@ class Compilation extends Tapable {
}

if(recursive) {
_this.processModuleDependencies(dependentModule, callback);
setTimeout(_this.processModuleDependencies.bind(_this, dependentModule, callback), 100);
} else {
return callback();
}
Expand Down

0 comments on commit cd98a40

Please sign in to comment.