Skip to content

Commit

Permalink
Don't cache dynamic bundles that had a network error (#2400)
Browse files Browse the repository at this point in the history
  • Loading branch information
DeMoorJasper authored and devongovett committed Dec 12, 2018
1 parent 697b234 commit 3042224
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/core/parcel-bundler/src/builtins/bundle-loader.js
Expand Up @@ -59,6 +59,10 @@ function loadBundle(bundle) {
}

return resolved;
}).catch(function(e) {
delete bundles[bundle];

throw e;
});
}
}
Expand Down

0 comments on commit 3042224

Please sign in to comment.