added note about npm run build to README (#801)

This commit is contained in:
Benjamin Wheeler 2018-12-17 10:53:19 -05:00 committed by DD Liu
parent 5ae3ade49b
commit 5756c2ef50

View file

@ -37,11 +37,14 @@ You can try out your own copy of the paint editor by running the development ser
In the cloned `scratch-paint` directory, run: In the cloned `scratch-paint` directory, run:
```bash ```bash
npm run build
npm start npm start
``` ```
Then go to [http://localhost:8078/playground/](http://localhost:8078/playground/). 8078 is BLOB upside-down. The True Name of this repo is scratch-blobs. Then go to [http://localhost:8078/playground/](http://localhost:8078/playground/). 8078 is BLOB upside-down. The True Name of this repo is scratch-blobs.
*(Note that the `npm run build` step above seems like it's only necessary for some user and environments, and not others; check for yourself if the server that `npm start` starts is hot-reloading correctly.)*
### Running locally (as part of Scratch) ### Running locally (as part of Scratch)
So you've tried out your edits in the playground and they look good. You should now test with the rest of Scratch, to make sure that everything hooks up right, and so that you can use your custom paint editor to make costumes and sprites! So you've tried out your edits in the playground and they look good. You should now test with the rest of Scratch, to make sure that everything hooks up right, and so that you can use your custom paint editor to make costumes and sprites!