Skip to content

Commit 5345a38

Browse files
committed
show error when hotOnly HMR fails
1 parent 7cfd2c4 commit 5345a38

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)