From 0dc77d13088a79cf6f45b07d6861b85a9b6e433a Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Mon, 15 May 2017 14:34:43 +0200 Subject: [PATCH] made buid dependent of sync on gulp --- gulpfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 5ca0633..0b78b13 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -33,13 +33,13 @@ gulp.task('sync', shell.task([ './bin/sync.sh' ])); -gulp.task('build', shell.task([ +gulp.task('build', ['sync'], shell.task([ './bin/build.py' ])); // default gulp task -gulp.task('default', ['webserver', 'sync', 'scss', 'gui', 'build'], function() { +gulp.task('default', ['build', 'scss', 'gui', 'webserver'], function() { gulp.watch('./assets/css/**/*.scss', ['scss']); gulp.watch('./assets/css/gui.scss', ['gui']); gulp.watch(['bin/build.py', './book-src/*', './templates/*.tpl.html'], ['build']);