This commit is contained in:
Sebastian Alff 2022-05-24 18:52:18 +02:00
parent 0ddddf46b5
commit 721547b9cf
1 changed files with 3 additions and 5 deletions

View File

@ -38,11 +38,9 @@ if (module.hot) {
if (["abort", "fail"].indexOf(status) >= 0) {
log(
"warning",
`[HMR] Cannot apply update. ${(
typeof window !== "undefined"
"[HMR] Cannot apply update. " + typeof window !== "undefined"
? "Need to do a full reload!"
: "Please reload manually!"
)}`
);
log("warning", "[HMR] " + log.formatError(err));
if (typeof window !== "undefined") {