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:
parent
71df8dcac1
commit
d67010e5b0
|
@ -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']);
|
||||
|
|
Loading…
Reference in a new issue