aboutsummaryrefslogtreecommitdiff
path: root/gulpfile.js
diff options
context:
space:
mode:
authorMichal Wolny <michal.wolny@versum.pl>2021-05-09 18:16:06 +0200
committerMichal Wolny <michal.wolny@versum.pl>2021-05-09 18:16:06 +0200
commit72a96484499fcc7cd702deae97c0614d75e4b158 (patch)
tree4e74fa68db37b0f971f230f287ddcc04f9f3ea55 /gulpfile.js
parentMerge pull request #131 from tabler/dev-node-exports (diff)
downloadtabler-icons-72a96484499fcc7cd702deae97c0614d75e4b158.tar.xz
enable stdio logging from jekyll build process - fix "Could not find gem" error during build
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();
+ }
});
});