Skip to content

Commit

Permalink
Add global yarn watch to README
Browse files Browse the repository at this point in the history
Signed-off-by: Philip Langer <[email protected]>
  • Loading branch information
planger committed Feb 2, 2021
1 parent 5f153ce commit 0657143
Showing 1 changed file with 21 additions and 6 deletions.
27 changes: 21 additions & 6 deletions templates/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,34 +40,49 @@ or

## Developing with the browser example

Start watching of <%= params.extensionName %>.
Start watching all packages, including `browser-app`, of your application with

yarn watch

*or* watch only specific packages with

cd <%= params.extensionPath %>
yarn watch

Start watching of the browser example.
and the browser example.

yarn rebuild:browser
cd browser-app
yarn watch

In a new terminal, rebuild the browser example.

yarn rebuild:browser

Launch `Start Browser Backend` configuration from VS code.

Open http://localhost:3000 in the browser.

## Developing with the Electron example

Start watching of <%= params.extensionName %>.
Start watching all packages, including `electron-app`, of your application with

yarn watch

*or* watch only specific packages with

cd <%= params.extensionPath %>
yarn watch

Start watching of the electron example.
and the Electron example.

yarn rebuild:electron
cd electron-app
yarn watch

In a new terminal, rebuild the Electron example.

yarn rebuild:electron


Launch `Start Electron Backend` configuration from VS code.

## Publishing <%= params.extensionName %>
Expand Down

0 comments on commit 0657143

Please sign in to comment.