Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
shows how to only output the first webpack-compiler error to the console
webpack | awk '/ERROR/{f=1} f{print; if (/@/) exit}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.