We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents af55e54 + 4fbd901 commit d447e49Copy full SHA for d447e49
1 file changed
lib/CachePlugin.js
@@ -19,7 +19,10 @@ CachePlugin.prototype.apply = function(compiler) {
19
fileTs = compiler.fileTimestamps = {};
20
async.forEach(compiler._lastCompilationFileDependencies, function(file, callback) {
21
fs.stat(file, function(err, stat) {
22
- if(err) return callback(err);
+ if(err) {
23
+ if(err.code === 'ENOENT') return callback();
24
+ return callback(err);
25
+ }
26
27
fileTs[file] = stat.mtime || Infinity;
28
callback();
0 commit comments