From 67822b36d35bb58eea19ff58273b123774fc6f65 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Wed, 8 Jul 2020 00:48:45 +0000 Subject: [PATCH] fix(core): update --- ts/parcel.classes.parcel.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ts/parcel.classes.parcel.ts b/ts/parcel.classes.parcel.ts index a40b117..093c7b2 100644 --- a/ts/parcel.classes.parcel.ts +++ b/ts/parcel.classes.parcel.ts @@ -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; + }); }