aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/gulpfile.js b/gulpfile.js
index 34cc828b..60203d7e 100644
--- a/gulpfile.js
+++ b/gulpfile.js
@@ -403,8 +403,12 @@ gulp.task('build-zip', function () {
});
gulp.task('build-jekyll', function (cb) {
- cp.exec('bundle exec jekyll build', function () {
- cb();
+ const jekyll = cp.spawn("bundle", ["exec", "jekyll", "build"], { stdio: 'inherit' });
+ jekyll.on("close", function (code) {
+ console.log(`Jekyll build exited with code ${code}`);
+ if (!code) {
+ cb();
+ }
});
});