Skip to content

Commit 101d897

Browse files
committed
Grab webpack, static-server in build-watch from node_modules
1 parent 3fd5cc2 commit 101d897

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

script/build-watch

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@ function finish {
66
kill $SERVER_PID
77
}
88

9-
webpack --watch --devtool inline-source-map &
9+
BIN = ../node_modules/.bin
10+
11+
12+
$BIN/webpack --watch --devtool inline-source-map &
1013
WEBPACK_PID=$!
1114

1215
# # Run a static server and run the example in it.
13-
static-server . &
16+
$BIN/static-server . &
1417
SERVER_PID=$!
1518

1619
# Open browser

0 commit comments

Comments
 (0)