Skip to content

Commit

Permalink
use npm watch
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed May 31, 2018
1 parent 253afe1 commit 9f8a8c8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions configuration-sample/.vscode/launch.json
Expand Up @@ -15,7 +15,7 @@
"outFiles": [
"${workspaceRoot}/out/src/**/*.js"
],
"preLaunchTask": "tsc: watch - tsconfig.json"
"preLaunchTask": "npm: watch"
},
{
"name": "Launch Tests",
Expand All @@ -31,7 +31,7 @@
"outFiles": [
"${workspaceRoot}/out/test/**/*.js"
],
"preLaunchTask": "tsc: watch - tsconfig.json"
"preLaunchTask": "npm: watch"
},
{
"type": "node",
Expand Down
2 changes: 1 addition & 1 deletion configuration-sample/package.json
Expand Up @@ -64,7 +64,7 @@
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions tree-view-sample/.vscode/launch.json
Expand Up @@ -15,7 +15,7 @@
"outFiles": [
"${workspaceRoot}/out/src/**/*.js"
],
"preLaunchTask": "tsc: watch - tsconfig.json"
"preLaunchTask": "npm: watch"
},
{
"name": "Launch Tests",
Expand All @@ -31,7 +31,7 @@
"outFiles": [
"${workspaceRoot}/out/test/**/*.js"
],
"preLaunchTask": "tsc: watch - tsconfig.json"
"preLaunchTask": "npm: watch"
},
{
"type": "node",
Expand Down
2 changes: 1 addition & 1 deletion tree-view-sample/package.json
Expand Up @@ -159,7 +159,7 @@
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
Expand Down

0 comments on commit 9f8a8c8

Please sign in to comment.