Skip to content

Commit

Permalink
Merge pull request #144 from svengau/master
Browse files Browse the repository at this point in the history
clearCache fallbacks to chunk.id if chunk.name is null
  • Loading branch information
swyxio authored May 16, 2019
2 parents a6c290b + b724423 commit 009aef7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ program
startServer();
}
stats.compilation.chunks.forEach(function(chunk) {
server.clearCache(chunk.name);
server.clearCache(chunk.name || chunk.id.toString());
});
});
});
Expand Down

0 comments on commit 009aef7

Please sign in to comment.