i like 'dev' better than 'watch'

This commit is contained in:
David Miller 2016-08-19 16:02:27 -04:00
parent 1ff088f84b
commit c3e254ac46

View File

@ -82,8 +82,8 @@ gulp.task('browserSync', function() {
}) })
}) })
// Watch Task that compiles LESS and watches for HTML or JS changes and reloads with browserSync // Dev task with browserSync
gulp.task('watch', ['browserSync', 'less', 'minify-css', 'minify-js'], function() { gulp.task('dev', ['browserSync', 'less', 'minify-css', 'minify-js'], function() {
gulp.watch('less/*.less', ['less']); gulp.watch('less/*.less', ['less']);
gulp.watch('css/*.css', ['minify-css']); gulp.watch('css/*.css', ['minify-css']);
gulp.watch('js/*.js', ['minify-js']); gulp.watch('js/*.js', ['minify-js']);