Skip to content

Commit 616e6bc

Browse files
authored
Watch task not needed when debugging (#7)
The Watch task is only needed for Excel-Custom-Functions.
1 parent 38c491f commit 616e6bc

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

Debugging.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
## Using Visual Studio Code
44

55
1. Open the folder in VS Code.
6-
2. Run the `Watch` task using `Terminal`, `Run Task`.
7-
3. Run the `Dev Server` task using `Terminal`, `Run Task`.
6+
2. Run the `Dev Server` task using `Terminal`, `Run Task`.
87

98

109
### Office Online (Edge - Windows 10 / Chrome - Mac)
@@ -35,24 +34,20 @@
3534

3635
## From the command line
3736

38-
### Watch / Build
39-
* Use `npm run watch` to run build for development, and rebuild automatically when a source file is saved.
40-
* If you would rather build manually, use `npm run build-dev` to build for development.
37+
### Build
4138
* To build for production, use `npm run build`.
4239

4340
### Dev Server
4441
* Use `npm run dev-server` to run the dev-server.
4542

4643
### Debugging (Desktop)
4744
* To start debugging, use `npm start desktop -- --app {app}` where `{app}` is `excel`, `powerpoint`, or `word`.
48-
* Be sure to build or run watch beforehand.
4945
* If the dev-server is not already running, it will run the dev-server in a separate window.
5046
* The add-in will be configured for debugging, and a document will be opened which loads the add-in.
5147
* Once you're done debugging, use `npm stop desktop -- --app {app}` so the add-in is no longer configured for debugging.
5248

5349
### Debugging (Office Online)
5450
* To start debugging, use `npm start web`.
55-
* Be sure to build or run watch beforehand.
5651
* If the dev-server is not already running, it will run the dev-server in a separate window.
5752
* Open the desired Office document in the browser.
5853
* Use `Insert`, `Add-ins` to upload the manifest file. [More info](https://docs.microsoft.com/en-us/office/dev/add-ins/testing/sideload-office-add-ins-for-testing_)

0 commit comments

Comments
 (0)