fix(core): update

This commit is contained in:
Philipp Kunz 2020-07-08 00:48:45 +00:00
parent f1d348bb6a
commit 67822b36d3

View File

@ -47,7 +47,10 @@ export class Parcel {
// Run the bundler, this returns the main bundle
// Use the events if you're using watch mode as this promise will only trigger once and not for every rebuild
const bundle = await bundler.bundle();
const bundle = await bundler.bundle().catch(e => {
console.error(e);
throw e;
});
}