From ceebb84272db3aefc3c11b0182a24b2e3fb127ae Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Wed, 24 May 2017 14:56:26 +0900
Subject: [PATCH] =?UTF-8?q?=E3=81=84=E3=81=84=E6=84=9F=E3=81=98=E3=81=AB?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 gulpfile.ts | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/gulpfile.ts b/gulpfile.ts
index 278b20bb12..3399a881b2 100644
--- a/gulpfile.ts
+++ b/gulpfile.ts
@@ -107,12 +107,16 @@ gulp.task('build:client', [
 ]);
 
 gulp.task('webpack', done => {
-	const output = childProcess.execSync(
-		Path.join('.', 'node_modules', '.bin', 'webpack') + ' --config ./webpack/webpack.config.ts');
+	const webpack = childProcess.spawn(
+		Path.join('.', 'node_modules', '.bin', 'webpack'),
+		['--config', './webpack/webpack.config.ts'], {
+			shell: true
+		});
 
-	console.log(output.toString());
+	webpack.stdout.pipe(process.stdout);
+	webpack.stderr.pipe(process.stderr);
 
-	done();
+	webpack.on('exit', done);
 });
 
 gulp.task('build:client:script', () =>