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) {
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);
});
@ -43,4 +43,4 @@ gulp.task('watch', function () {
* Default task, running just `gulp` will compile the sass,
* compile the jekyll site, launch BrowserSync & watch files.
*/
gulp.task('default', ['browser-sync', 'watch']);
gulp.task('default', ['browser-sync', 'watch']);