diff --git a/playground/README.md b/playground/README.md index 0a22b93d..9fae348b 100644 --- a/playground/README.md +++ b/playground/README.md @@ -6,11 +6,12 @@ A secondary motivation is making the playground usable for other projects, such ## Development -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. +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. -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. +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. ```bash -go get -u github.com/ajhager/srvi -srvi -index index.html -endpoint playground.js playground.go +gopherjs serve ``` + +Then open .