Skip to content

Commit 5ca39aa

Browse files
authored
Merge pull request webpack#4932 from jiyinyiyong/show-hot-only-error
show error when hotOnly HMR fails
2 parents 7cfd2c4 + 5345a38 commit 5ca39aa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎hot/only-dev-server.js‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ if(module.hot) {
2727
console.warn("Ignored an update to declined module " + data.chain.join(" -> "));
2828
},
2929
onErrored: function(data) {
30+
console.error(data.error);
3031
console.warn("Ignored an error while updating module " + data.moduleId + " (" + data.type + ")");
3132
}
3233
}).then(function(renewedModules) {

0 commit comments

Comments
 (0)