Update gulpfile to work in Windows

Gulp was trying to call bundle.bat but that doesn't work
in Linux.
This commit is contained in:
Jesper Hess 2017-01-03 14:49:57 +01:00
parent 71df8dcac1
commit d67010e5b0
Signed by: graffen
GPG key ID: 351A89E40D763F0F

View file

@ -11,7 +11,7 @@ var messages = {
*/ */
gulp.task('jekyll-build', function (done) { gulp.task('jekyll-build', function (done) {
browserSync.notify(messages.jekyllBuild); browserSync.notify(messages.jekyllBuild);
return cp.spawn('bundle.bat', ['exec','jekyll','build'], {stdio: 'inherit'}) return cp.spawn('bundle', ['exec','jekyll','build'], {stdio: 'inherit'})
.on('close', done); .on('close', done);
}); });