From 9f8a8c802ddcf1bfaacbdb7bb7d9295106af9920 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Thu, 31 May 2018 16:19:18 +0200 Subject: [PATCH] use npm watch --- configuration-sample/.vscode/launch.json | 4 ++-- configuration-sample/package.json | 2 +- tree-view-sample/.vscode/launch.json | 4 ++-- tree-view-sample/package.json | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configuration-sample/.vscode/launch.json b/configuration-sample/.vscode/launch.json index 155a4c93..d0aa1a18 100644 --- a/configuration-sample/.vscode/launch.json +++ b/configuration-sample/.vscode/launch.json @@ -15,7 +15,7 @@ "outFiles": [ "${workspaceRoot}/out/src/**/*.js" ], - "preLaunchTask": "tsc: watch - tsconfig.json" + "preLaunchTask": "npm: watch" }, { "name": "Launch Tests", @@ -31,7 +31,7 @@ "outFiles": [ "${workspaceRoot}/out/test/**/*.js" ], - "preLaunchTask": "tsc: watch - tsconfig.json" + "preLaunchTask": "npm: watch" }, { "type": "node", diff --git a/configuration-sample/package.json b/configuration-sample/package.json index a028196a..622b66e3 100644 --- a/configuration-sample/package.json +++ b/configuration-sample/package.json @@ -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": { diff --git a/tree-view-sample/.vscode/launch.json b/tree-view-sample/.vscode/launch.json index dfa7b3ea..03ee7339 100644 --- a/tree-view-sample/.vscode/launch.json +++ b/tree-view-sample/.vscode/launch.json @@ -15,7 +15,7 @@ "outFiles": [ "${workspaceRoot}/out/src/**/*.js" ], - "preLaunchTask": "tsc: watch - tsconfig.json" + "preLaunchTask": "npm: watch" }, { "name": "Launch Tests", @@ -31,7 +31,7 @@ "outFiles": [ "${workspaceRoot}/out/test/**/*.js" ], - "preLaunchTask": "tsc: watch - tsconfig.json" + "preLaunchTask": "npm: watch" }, { "type": "node", diff --git a/tree-view-sample/package.json b/tree-view-sample/package.json index 4888e664..256702a1 100644 --- a/tree-view-sample/package.json +++ b/tree-view-sample/package.json @@ -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": {