Skip to content

Commit b093f02

Browse files
committed
only group HMR module updates if name contains loaders
1 parent 6c5dc1b commit b093f02

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hot/log-apply-result.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module.exports = function(updatedModules, renewedModules) {
2020
} else {
2121
log("info", "[HMR] Updated modules:");
2222
renewedModules.forEach(function(moduleId) {
23-
if(typeof moduleId === "string") {
23+
if(typeof moduleId === "string" && moduleId.indexOf("!") !== -1) {
2424
var parts = moduleId.split("!");
2525
log.groupCollapsed("info", "[HMR] - " + parts.pop());
2626
log("info", "[HMR] - " + moduleId);

0 commit comments

Comments
 (0)