コンソールへのwebpack出力をいい感じに

This commit is contained in:
syuilo 2017-05-25 06:38:53 +09:00
parent 35d9f8c9a6
commit 2f2baf120a

View file

@ -110,12 +110,10 @@ gulp.task('webpack', done => {
const webpack = childProcess.spawn(
Path.join('.', 'node_modules', '.bin', 'webpack'),
['--config', './webpack/webpack.config.ts'], {
shell: true
shell: true,
stdio: 'inherit'
});
webpack.stdout.pipe(process.stdout);
webpack.stderr.pipe(process.stderr);
webpack.on('exit', done);
});