more bugs fixes for algolia

This commit is contained in:
Westly Wright
2018-07-03 12:29:40 -07:00
parent 346fc530f6
commit 7ce258ca1a
2 changed files with 19 additions and 25 deletions
-10
View File
@@ -30,10 +30,6 @@ gulp.task('dev', ['build-dev'], () => {
gulp.start('init-watch');
});
gulp.task('dev:search', ['build-dev:search'], () => {
gulp.start('init-watch');
});
gulp.task('build', (cb) => {
runSequence('pub-delete', 'sass', 'build:vendor', 'build:app', 'fonts', 'img', 'hugo', () => {
cb();
@@ -52,12 +48,6 @@ gulp.task('build-dev', (cb) => {
});
});
gulp.task('build-dev:search', (cb) => {
runSequence('pub-delete', 'sass', 'build:vendor', 'build:app', 'fonts', 'img', 'hugo-dev', () => {
cb();
});
});
gulp.task('hugo', (cb) => {
return spawn('hugo', ['--buildFuture', '--baseURL=/docs'], { stdio: 'inherit' }).on('close', (/* code */) => {
browserSync.reload();