|
|
@ -4,7 +4,7 @@ const webpack = spawn('webpack', ['--config', 'build/webpack.dev.conf.js'], { |
|
|
|
stdio: 'inherit', |
|
|
|
stdio: 'inherit', |
|
|
|
shell: true |
|
|
|
shell: true |
|
|
|
}); |
|
|
|
}); |
|
|
|
//webpack.stdout.pipe(process.stdout);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const nodemon = spawn('nodemon', ['../dist/server', '--watch', 'server.js']); |
|
|
|
const nodemon = spawn('nodemon', ['../dist/server', '--watch', 'server.js']); |
|
|
|
nodemon.stdout.pipe(process.stdout); |
|
|
|
nodemon.stdout.pipe(process.stdout); |
|
|
|
|
|
|
|
nodemon.stderr.pipe(process.stderr); |
|
|
|