feat(gatsby): catch webpack chunk loading errors and completely reload the app (#33032)
feat(gatsby): catch webpack chunk loading errors and completely reload the app (#33032)

Fix https://github.com/gatsbyjs/gatsby/issues/18866

The error happens when a user loads a page and while they have it open, a new version of the site is deployed. Then when they try to navigate and the Gatsby app tries to load a js chunk, the chunk might no longer exist on the server and so the
app crashes.
gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby,gatsbyjs/gatsby