Add dev server to help with WebWorker development
This commit is contained in:
1 parent
652cc8a31c
commit
b144ca7a2e
2 files changed
+6
-1
No files matched your search
@@ -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:
|
||||
|
||||
+2
-1
@@ -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"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user