Skip to content

Commit a901ed9

Browse files
committed
make gulp serve run gulp build first
1 parent 48a167e commit a901ed9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gulpfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ gulp.task('build', function () {
1313
//return cp.spawn('bundle', ['exec', 'jekyll', 'build'], {stdio: 'inherit'});
1414
return cp.execSync('bundle exec jekyll build', {stdio: 'inherit'})
1515
});
16-
gulp.task('serve', function(){
16+
gulp.task('serve', ['build'], function(){
1717
"use strict";
1818
sync.init({
1919
server: './_site'
@@ -31,4 +31,4 @@ gulp.task('serve', function(){
3131
'_config.yml'
3232
],
3333
['build'])
34-
});
34+
});

0 commit comments

Comments
 (0)