Skip to content

Commit

Permalink
Merge pull request #63 from Microsoft/octref/watch-compile
Browse files Browse the repository at this point in the history
Distinguish between watch and compile
  • Loading branch information
mjbvz authored Apr 25, 2018
2 parents def5ef1 + 6d6ff7d commit 99bdcd0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion webview-sample/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
3 changes: 2 additions & 1 deletion webview-sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 99bdcd0

Please sign in to comment.