Skip to content

Commit 009aef7

Browse files
authored
Merge pull request #144 from svengau/master
clearCache fallbacks to chunk.id if chunk.name is null
2 parents a6c290b + b724423 commit 009aef7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/cmd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ program
5353
startServer();
5454
}
5555
stats.compilation.chunks.forEach(function(chunk) {
56-
server.clearCache(chunk.name);
56+
server.clearCache(chunk.name || chunk.id.toString());
5757
});
5858
});
5959
});

0 commit comments

Comments
 (0)