Closed Yago closed 10 years ago
Split Default task and Serve task with something like :
gulp.task('default', ['vendors', 'styles', 'scripts']); gulp.task('serve', function () { browserSync.init(['styleguide/*.html'], { server: { baseDir: ['./'] }, notify: false }); gulp.watch('assets/sass/**/*.scss', ['styles', 'styleguide']); gulp.watch('assets/js/*.js', ['scripts', 'styleguide']); });
Split Default task and Serve task with something like :