Skip to content
This repository has been archived by the owner on Aug 7, 2018. It is now read-only.

Fail on error #37

Open
brettstack opened this issue Aug 31, 2015 · 3 comments
Open

Fail on error #37

brettstack opened this issue Aug 31, 2015 · 3 comments

Comments

@brettstack
Copy link

How do I go about failing the build if an error occurs during bundling (eg. cannot find a file (ENOENT))?

@marjan-georgiev
Copy link
Member

We would probably need to reject the promises when an error is raised. At which stage of the process would you like to fail the build? Anywhere?

@brettstack
Copy link
Author

Yes, anywhere on first error.

@marjan-georgiev
Copy link
Member

Makes sense. There isn't really a point in continuing the build after an error occurs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants