fix(core): update
This commit is contained in:
parent
f1d348bb6a
commit
67822b36d3
@ -47,7 +47,10 @@ export class Parcel {
|
|||||||
|
|
||||||
// Run the bundler, this returns the main bundle
|
// 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
|
// 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;
|
||||||
|
});
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user