tasks.json 1.0 KB
Newer Older
E
Erich Gamma 已提交
1 2
{
	"version": "0.1.0",
3
	"command": "./node_modules/.bin/gulp",
E
Erich Gamma 已提交
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
	"isShellCommand": true,
	"tasks": [
		{
			"taskName": "watch",
			"args": [
				"--no-color"
			],
			"isBuildCommand": true,
			"isWatching": true,
			"problemMatcher": {
				"owner": "typescript",
				"fileLocation": ["absolute"],
				"pattern": {
					"regexp": "^\\*\\*\\* Error: ([^(]+)\\((\\d+|\\d+,\\d+|\\d+,\\d+,\\d+,\\d+)\\): (.*)$",
					"file": 1,
					"location": 2,
					"message": 3
				},
				"watching": {
					"beginsPattern": "^\\*\\*\\* Starting\\.\\.\\.$",
					"endsPattern": "^\\*\\*\\* Finished"
				}
			}
		},
E
Erich Gamma 已提交
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46
		{
			"taskName": "tslint",
			"args": [],
			"problemMatcher": {
				"owner": "tslint",
				"fileLocation": [
					"relative",
					"${workspaceRoot}"
				],
				"severity": "warning",
				"pattern": {
					"regexp": "^\\[tslint\\] (.*):(\\d+):(\\d+):\\s+(.*)$",
					"file": 1,
					"line": 2,
					"column": 3,
					"message": 4
				}
			}
		},
E
Erich Gamma 已提交
47 48 49 50 51 52 53 54 55 56
		{
			"taskName": "test",
			"args": [
				"--no-color"
			],
			"showOutput": "always",
			"isTestCommand": true
		}
	]
}