Skip to content

Commit

Permalink
Starting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
agragregra committed Jan 11, 2019
1 parent edcff03 commit 0d2bcf0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ gulp.task('rsync', function() {
});

if (gulpversion == 3) {
gulp.task('watch', ['browser-sync'], function() {
gulp.task('watch', ['styles', 'scripts', 'browser-sync'], function() {
gulp.watch('app/'+syntax+'/**/*.'+syntax+'', ['styles']);
gulp.watch(['libs/**/*.js', 'app/js/common.js'], ['scripts']);
gulp.watch('app/*.html', ['code'])
Expand All @@ -81,5 +81,5 @@ if (gulpversion == 4) {
gulp.watch(['libs/**/*.js', 'app/js/common.js'], gulp.parallel('scripts'));
gulp.watch('app/*.html', gulp.parallel('code'))
});
gulp.task('default', gulp.parallel('watch', 'browser-sync'));
gulp.task('default', gulp.parallel('styles', 'scripts', 'browser-sync', 'watch'));
}

0 comments on commit 0d2bcf0

Please sign in to comment.