Skip to content

Commit b6e8a76

Browse files
committed
Merge pull request #25 from gopherjs/playground-README-suggest-gopherjs-serve
playground/README: Suggest gopherjs serve command.
2 parents 35795d3 + 2563473 commit b6e8a76

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

playground/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ A secondary motivation is making the playground usable for other projects, such
66

77
## Development
88

9-
To update the entire playground environment, run the `update.sh` script. It will pull the latest gopherjs compiler, rebuild and copy the standard library into the `pkg` directory, and build the playground.
9+
To update the entire playground environment, run the `update.sh` script. It will install your local version of gopherjs compiler, rebuild and copy the standard library into the `pkg` directory, and build the playground.
1010

11-
Working on the application itself is made easier by using the [SRVi](https://github.com/ajhager/srvi) utility to rebuild and serve the playground every time you refresh the browser.
11+
Working on the application itself is made easier by using the `gopherjs serve` command to rebuild and serve the playground every time you refresh the browser.
1212

1313
```bash
14-
go get -u github.com/ajhager/srvi
15-
srvi -index index.html -endpoint playground.js playground.go
14+
gopherjs serve
1615
```
16+
17+
Then open <http://localhost:8080/github.com/gopherjs/gopherjs.github.io/playground>.

0 commit comments

Comments
 (0)