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; + }); }