mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 15:17:53 -05:00
Avoid port conflict with vagrant and clarify readme
This commit is contained in:
parent
121b0e106f
commit
9ba3f729cf
2 changed files with 4 additions and 4 deletions
6
Makefile
6
Makefile
|
@ -35,14 +35,12 @@ lint:
|
|||
# ------------------------------------
|
||||
|
||||
start:
|
||||
$(LIVE) ./build &
|
||||
make watch &
|
||||
wait
|
||||
@make watch
|
||||
$(LIVE) ./build --port=8888 --wait=200 --no-browser
|
||||
|
||||
watch:
|
||||
$(WEBPACK) -d --watch &
|
||||
$(WATCH) "make static" ./static &
|
||||
$(WATCH) "make lint" ./src &
|
||||
wait
|
||||
|
||||
# ------------------------------------
|
||||
|
|
|
@ -9,6 +9,8 @@ npm install
|
|||
npm start
|
||||
```
|
||||
|
||||
Once running, open `http://localhost:8888` in your browser. Any update you make to files in either `./static` or `./src` should trigger a rebuild of the project and cause your browser to refresh to reflect those changes.
|
||||
|
||||
### To Test
|
||||
```bash
|
||||
npm test
|
||||
|
|
Loading…
Reference in a new issue