diff options
author | Aleksey Kladov <[email protected]> | 2018-08-27 20:52:43 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-27 20:52:43 +0100 |
commit | 422efe59afe333a8371afe6f9fb45f159a6fb07f (patch) | |
tree | cfdc2a4209419e690257cff2235b3fd3f75fe53d /code/.vscode/tasks.json | |
parent | 57518153147ad53639f16cc940d219dc582c550a (diff) |
you better run
Diffstat (limited to 'code/.vscode/tasks.json')
-rw-r--r-- | code/.vscode/tasks.json | 49 |
1 files changed, 19 insertions, 30 deletions
diff --git a/code/.vscode/tasks.json b/code/.vscode/tasks.json index e1cfa4deb..604e38f5a 100644 --- a/code/.vscode/tasks.json +++ b/code/.vscode/tasks.json | |||
@@ -1,31 +1,20 @@ | |||
1 | 1 | // See https://go.microsoft.com/fwlink/?LinkId=733558 | |
2 | // Available variables which can be used inside of strings. | 2 | // for the documentation about the tasks.json format |
3 | // ${workspaceRoot}: the root folder of the team | ||
4 | // ${file}: the current opened file | ||
5 | // ${fileBasename}: the current opened file's basename | ||
6 | // ${fileDirname}: the current opened file's dirname | ||
7 | // ${fileExtname}: the current opened file's extension | ||
8 | // ${cwd}: the current working directory of the spawned process | ||
9 | |||
10 | // A task runner that calls a custom npm script that compiles the extension. | ||
11 | { | 3 | { |
12 | "version": "0.2.0", | 4 | "version": "2.0.0", |
13 | 5 | "tasks": [ | |
14 | // we want to run npm | 6 | { |
15 | "command": "npm", | 7 | "type": "npm", |
16 | 8 | "script": "watch", | |
17 | // the command is a shell script | 9 | "problemMatcher": "$tsc-watch", |
18 | "isShellCommand": true, | 10 | "isBackground": true, |
19 | 11 | "presentation": { | |
20 | // show the output window only if unrecognized errors occur. | 12 | "reveal": "never" |
21 | "showOutput": "silent", | 13 | }, |
22 | 14 | "group": { | |
23 | // we run the custom script "compile" as defined in package.json | 15 | "kind": "build", |
24 | "args": ["run", "compile",], | 16 | "isDefault": true |
25 | 17 | } | |
26 | // The tsc compiler is started in watching mode | 18 | } |
27 | "isBackground": true, | 19 | ] |
28 | 20 | } \ No newline at end of file | |
29 | // use the standard tsc in watch mode problem matcher to find compile problems in the output. | ||
30 | "problemMatcher": "$tsc-watch" | ||
31 | } | ||