diff options
author | Aleksey Kladov <[email protected]> | 2018-07-30 19:58:49 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-07-30 19:58:49 +0100 |
commit | ac0d8c48f7a277d4a43448fe7dd4279383bc53f0 (patch) | |
tree | 5fe6d1f761f15d1e2d63fc4e9be0c16e2f0b3d93 /code/.vscode/tasks.json | |
parent | 6fc66c4ee667da871ea1f0c8b48b5e9b7373a187 (diff) |
JS plugin
Diffstat (limited to 'code/.vscode/tasks.json')
-rw-r--r-- | code/.vscode/tasks.json | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/code/.vscode/tasks.json b/code/.vscode/tasks.json new file mode 100644 index 000000000..8e5a8b9ef --- /dev/null +++ b/code/.vscode/tasks.json | |||
@@ -0,0 +1,31 @@ | |||
1 | |||
2 | // Available variables which can be used inside of strings. | ||
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 | { | ||
12 | "version": "0.2.0", | ||
13 | |||
14 | // we want to run npm | ||
15 | "command": "npm", | ||
16 | |||
17 | // the command is a shell script | ||
18 | "isShellCommand": true, | ||
19 | |||
20 | // show the output window only if unrecognized errors occur. | ||
21 | "showOutput": "silent", | ||
22 | |||
23 | // we run the custom script "compile" as defined in package.json | ||
24 | "args": ["run", "compile", "--loglevel", "silent"], | ||
25 | |||
26 | // The tsc compiler is started in watching mode | ||
27 | "isBackground": true, | ||
28 | |||
29 | // use the standard tsc in watch mode problem matcher to find compile problems in the output. | ||
30 | "problemMatcher": "$tsc-watch" | ||
31 | } | ||