Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onBuildError #29

Open
krow-ten opened this issue Dec 20, 2016 · 5 comments
Open

onBuildError #29

krow-ten opened this issue Dec 20, 2016 · 5 comments

Comments

@krow-ten
Copy link

Analogous to onBuildStart and onBuildEnd, take in a script to execute when there is a webpack compilation error.

@opiepj
Copy link
Member

opiepj commented Dec 29, 2016

Can you elaborate? What's your configuration?

@krow-ten
Copy link
Author

Hi, I was thinking of something a bit like https://github.com/JannesMeyer/system-bell-webpack-plugin but I'd like to execute a system command rather than have a 'bell' sound - the command could play a sound file or trigger some other notification (it's up to the user).
Basically just need a hook into when there is a webpack compilation error.

@opiepj
Copy link
Member

opiepj commented Jan 9, 2017

onBuildStart and onBuildEnd are in memory, what about using onBuildExit?

@opiepj
Copy link
Member

opiepj commented Jan 18, 2017

@krow-ten Any updates?

@krow-ten
Copy link
Author

Hey sorry for the delay in reply. onBuildExit will always execute the given system command. What do you mean by "onBuildStart and onBuildEnd are in memory" ?

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

No branches or pull requests

2 participants