diff options
author | Michal Wolny <michal.wolny@versum.pl> | 2021-05-09 18:16:06 +0200 |
---|---|---|
committer | Michal Wolny <michal.wolny@versum.pl> | 2021-05-09 18:16:06 +0200 |
commit | 72a96484499fcc7cd702deae97c0614d75e4b158 (patch) | |
tree | 4e74fa68db37b0f971f230f287ddcc04f9f3ea55 | |
parent | Merge pull request #131 from tabler/dev-node-exports (diff) | |
download | tabler-icons-72a96484499fcc7cd702deae97c0614d75e4b158.tar.xz |
enable stdio logging from jekyll build process - fix "Could not find gem" error during build
-rw-r--r-- | gulpfile.js | 8 |
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(); + } }); }); |