Skip to content

Instantly share code, notes, and snippets.

@acdha
Last active May 21, 2019 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save acdha/b66b684ae83cff7e52356679f5dc1982 to your computer and use it in GitHub Desktop.
Save acdha/b66b684ae83cff7e52356679f5dc1982 to your computer and use it in GitHub Desktop.
VSCode task for gulp watch output capturing
{
"version": "2.0.0",
"tasks": [
{
"type": "gulp",
"task": "watch",
"label": "gulp: watch",
"isBackground": true,
"presentation": {
"reveal": "always",
"revealProblems": "onProblem"
},
"problemMatcher": {
"owner": "gulp",
"fileLocation": "relative",
"pattern": [
{
"regexp": "^(\\w+): (.+)$",
"severity": 1,
"message": 2
},
{
"regexp": "^\\s+on line (\\d+) of (.+)$",
"file": 2,
"location": 1
}
],
"background": {
"activeOnStart": true,
"beginsPattern": "^[\\d{2}:\\d{2}:\\d{2}] Starting '[^']+'...",
"endsPattern": "^[\\d{2}:\\d{2}:\\d{2}] Finished '[^']+' after \\d+ ms"
}
}
},
{
"type": "gulp",
"task": "default",
"isBackground": true,
"presentation": {
"reveal": "always",
"revealProblems": "onProblem"
},
"problemMatcher": {
"owner": "gulp",
"fileLocation": "relative",
"pattern": [
{
"regexp": "^(\\w+): (.+)$",
"severity": 1,
"message": 2
},
{
"regexp": "^\\s+on line (\\d+) of (.+)$",
"file": 2,
"location": 1
}
],
"background": {
"activeOnStart": true,
"beginsPattern": "^[\\d{2}:\\d{2}:\\d{2}] Starting '[^']+'...",
"endsPattern": "^[\\d{2}:\\d{2}:\\d{2}] Finished '[^']+' after \\d+ ms"
}
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment