Sabutobi commented on issue #28259:
URL: https://github.com/apache/superset/issues/28259#issuecomment-2090520484
Hey @mistercrunch and @rusackas . I think I've found the solution for my
case.
I've added this code snippet into the
`superset-frontend/src/setup/setupApp.ts` file.
```
window.addEventListener('error', e => {
// prompt user to confirm refresh
if (/Loading chunk [\d]+ failed/.test(e.message)) {
window.location.reload();
}
});
```
Can be done as PR by myself if needed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]