about summary refs log tree commit diff stats
path: root/.vscode/tasks.json
blob: 66fa4bab04dffb0fb3a8abdfc7d3e56a999ad5ec (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "shell",
			"label": "phpstan (watcher)",
			"isBackground": true,
			"problemMatcher": {
				"fileLocation": [
					"relative",
					"${workspaceRoot}"
				],
				"owner": "phpstan-watcher",
				"pattern": {
					"regexp": "^/app/(.*?):([0-9\\?]*):(.*)$",
					"file": 1,
					"line": 2,
					"message": 3
				},
				"background": {
					"activeOnStart": true,
					"beginsPattern": "Using configuration file",
					"endsPattern": "All done"
				}
			},
			"command": "chmod +x ${workspaceRoot}/utils/phpstan-watcher.sh && ${workspaceRoot}/utils/phpstan-watcher.sh"
		},
		{
			"type": "npm",
			"script": "watch",
			"problemMatcher": [],
			"label": "esbuild (watcher)",
			"options": {
				"env": {
					"PATH": "${workspaceRoot}/node_modules/.bin:$PATH"
				}
			}
		}
	]
}