Skip to content

Commit 1e262ce

Browse files
Update build task to launch "npm run compile"
This uses the new tasks.json support in VS Code 1.9 to allow tasks to run different commands. So, now you should be able to build with <kbd>Cmd+Shift+B</kbd> in VS Code.
1 parent 1d70009 commit 1e262ce

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.vscode/tasks.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,24 @@
11
{
22
"version": "0.1.0",
3-
"command": "gulp",
4-
"isShellCommand": true,
53
"tasks": [
4+
{
5+
"taskName": "build",
6+
"command": "npm",
7+
"isShellCommand": true,
8+
"args": ["run", "compile"],
9+
"showOutput": "always",
10+
"isBuildCommand": true
11+
},
612
{
713
"taskName": "test",
814
"showOutput": "always",
915
"isTestCommand": true
1016
},
1117
{
1218
"taskName": "tslint",
13-
"args": [],
19+
"command": "gulp",
20+
"isShellCommand": true,
21+
"args": ["tslint"],
1422
"problemMatcher": {
1523
"owner": "tslint",
1624
"fileLocation": [

0 commit comments

Comments
 (0)