diff --git a/lib/app/client.js b/lib/app/client.js index 0d120242f7..feff703a95 100644 --- a/lib/app/client.js +++ b/lib/app/client.js @@ -147,6 +147,7 @@ async function loadAsyncComponents (to, from, next) { // This may be due to a new deployment or a network problem if (/^Loading chunk (\d)+ failed\./.test(message)) { window.location.reload(true /* skip cache */) + return // prevent error page blinking for user } this.error({ statusCode, message })