Skip to content

Commit

Permalink
only group HMR module updates if name contains loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
rrharvey committed Jul 13, 2017
1 parent 6c5dc1b commit b093f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hot/log-apply-result.js
Expand Up @@ -20,7 +20,7 @@ module.exports = function(updatedModules, renewedModules) {
} else {
log("info", "[HMR] Updated modules:");
renewedModules.forEach(function(moduleId) {
if(typeof moduleId === "string") {
if(typeof moduleId === "string" && moduleId.indexOf("!") !== -1) {
var parts = moduleId.split("!");
log.groupCollapsed("info", "[HMR] - " + parts.pop());
log("info", "[HMR] - " + moduleId);
Expand Down

0 comments on commit b093f02

Please sign in to comment.