mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-22 22:12:28 -05:00
Add dev server to help with WebWorker development
This commit is contained in:
parent
652cc8a31c
commit
b144ca7a2e
2 changed files with 6 additions and 1 deletions
4
Makefile
4
Makefile
|
@ -2,6 +2,7 @@ ESLINT=./node_modules/.bin/eslint
|
||||||
NODE=node
|
NODE=node
|
||||||
TAP=./node_modules/.bin/tap
|
TAP=./node_modules/.bin/tap
|
||||||
WEBPACK=./node_modules/.bin/webpack --progress --colors
|
WEBPACK=./node_modules/.bin/webpack --progress --colors
|
||||||
|
WEBPACK_DEV_SERVER=./node_modules/.bin/webpack-dev-server
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -11,6 +12,9 @@ build:
|
||||||
watch:
|
watch:
|
||||||
$(WEBPACK) --watch
|
$(WEBPACK) --watch
|
||||||
|
|
||||||
|
serve:
|
||||||
|
$(WEBPACK_DEV_SERVER) --content-base ./
|
||||||
|
|
||||||
# ------------------------------------------------------------------------------
|
# ------------------------------------------------------------------------------
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
|
|
|
@ -23,6 +23,7 @@
|
||||||
"json-loader": "0.5.4",
|
"json-loader": "0.5.4",
|
||||||
"scratch-blocks": "git+https://git@github.com/LLK/scratch-blocks.git",
|
"scratch-blocks": "git+https://git@github.com/LLK/scratch-blocks.git",
|
||||||
"tap": "5.7.1",
|
"tap": "5.7.1",
|
||||||
"webpack": "1.13.0"
|
"webpack": "1.13.0",
|
||||||
|
"webpack-dev-server": "^1.14.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue