mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-03-27 13:20:23 -04: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:
|
start:
|
||||||
$(LIVE) ./build &
|
@make watch
|
||||||
make watch &
|
$(LIVE) ./build --port=8888 --wait=200 --no-browser
|
||||||
wait
|
|
||||||
|
|
||||||
watch:
|
watch:
|
||||||
$(WEBPACK) -d --watch &
|
$(WEBPACK) -d --watch &
|
||||||
$(WATCH) "make static" ./static &
|
$(WATCH) "make static" ./static &
|
||||||
$(WATCH) "make lint" ./src &
|
|
||||||
wait
|
wait
|
||||||
|
|
||||||
# ------------------------------------
|
# ------------------------------------
|
||||||
|
|
|
@ -9,6 +9,8 @@ npm install
|
||||||
npm start
|
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
|
### To Test
|
||||||
```bash
|
```bash
|
||||||
npm test
|
npm test
|
||||||
|
|
Loading…
Add table
Reference in a new issue