Skip to content

Instantly share code, notes, and snippets.

@eliranmal
Created March 21, 2017 12:04
Show Gist options
  • Save eliranmal/e842f8f242763ba6a08aa124fd4a6a39 to your computer and use it in GitHub Desktop.
Save eliranmal/e842f8f242763ba6a08aa124fd4a6a39 to your computer and use it in GitHub Desktop.
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