Add dev server to help with WebWorker development

This commit is contained in:
Tim Mickel 2016-06-21 14:42:24 -04:00
parent 652cc8a31c
commit b144ca7a2e
2 changed files with 6 additions and 1 deletions

View file

@ -2,6 +2,7 @@ ESLINT=./node_modules/.bin/eslint
NODE=node
TAP=./node_modules/.bin/tap
WEBPACK=./node_modules/.bin/webpack --progress --colors
WEBPACK_DEV_SERVER=./node_modules/.bin/webpack-dev-server
# ------------------------------------------------------------------------------
@ -11,6 +12,9 @@ build:
watch:
$(WEBPACK) --watch
serve:
$(WEBPACK_DEV_SERVER) --content-base ./
# ------------------------------------------------------------------------------
lint:

View file

@ -23,6 +23,7 @@
"json-loader": "0.5.4",
"scratch-blocks": "git+https://git@github.com/LLK/scratch-blocks.git",
"tap": "5.7.1",
"webpack": "1.13.0"
"webpack": "1.13.0",
"webpack-dev-server": "^1.14.1"
}
}