File tree 2 files changed +10
-1
lines changed 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ 'use strict' ;
2
+
3
+ const { spawn } = require ( 'child_process' ) ;
4
+
5
+ const cwd = process . env . INIT_CWD ;
6
+ spawn ( 'node' , [ '../../../bin/webpack-dev-server.js' ] , {
7
+ cwd,
8
+ stdio : 'inherit' ,
9
+ } ) ;
Original file line number Diff line number Diff line change 31
31
"build:client:live" : " webpack ./client-src/live/index.js -o client/live.bundle.js --color --config client-src/live/webpack.config.js" ,
32
32
"build:client:sockjs" : " webpack ./client-src/sockjs/index.js -o client/sockjs.bundle.js --color --config client-src/sockjs/webpack.config.js" ,
33
33
"build:client" : " rimraf ./client/* && npm-run-all -s -l -p \" build:client:**\" " ,
34
- "webpack-dev-server" : " cd $INIT_CWD && node ../../../bin/webpack-dev-server .js" ,
34
+ "webpack-dev-server" : " node examples/run-example .js" ,
35
35
"release" : " standard-version"
36
36
},
37
37
"dependencies" : {
You can’t perform that action at this time.
0 commit comments