Skip to content

Instantly share code, notes, and snippets.

@acdha acdha/tasks.json
Last active May 21, 2019

Embed
What would you like to do?
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
You can’t perform that action at this time.