mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Distinguish between watch and compile
This commit is contained in:
@ -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.
|
||||
|
||||
@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user