IT:AD:Code:HowTo:Configure Problem Matchers
Summary
Problem Matchers are nothing more than sophisticated Regex expressions to extract meaning out of the warning and error messages of various tools.
Notes
- You can assign more than one Problem Matcher to a
./tasks.configtask – which is useful in such scenarios when you are creating a Task to run IT:AD:Gulp, IT:AD:Grunt or other downstream task runner.
- ./tasks.config
{ // See http://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format "version": "0.1.0", "command": "gulp", "isShellCommand": true, "args": [ "--no-color" ], "tasks": [ { "taskName": "build", "args": [], "isBuildCommand": true, "problemMatcher": [ "$lessCompile", "$tsc", "$jshint" ] } ] }