Distinguish between watch and compile

This commit is contained in:
Pine Wu
2018-04-25 11:25:10 -07:00
parent def5ef16a5
commit 6d6ff7d191
2 changed files with 3 additions and 2 deletions

View File

@ -15,7 +15,7 @@ Demonstrates VS Code's [webview API](https://code.visualstudio.com/docs/extensio
- Open this example in VS Code 1.23+
- `npm install`
- `npm run compile`
- `npm run watch` or `npm run compile`
- `F5` to start debugging
Run the `Cat Coding: Start cat coding session` to create the webview.

View File

@ -30,7 +30,8 @@
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"compile": "tsc -p ./",
"watch": "tsc -w -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"dependencies": {