You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
312 B
11 lines
312 B
import gulp from 'gulp';
|
|
import gulpif from 'gulp-if';
|
|
import gutil from 'gulp-util';
|
|
import args from './util/args';
|
|
|
|
gulp.task('browser', (cb)=>{
|
|
if(!args.watch) return cb();
|
|
gulp.watch('app/**/*.js', ['scripts']);
|
|
gulp.watch('app/**/*.ejs', ['pages']);
|
|
gulp.watch('app/**/*.css', ['css']);
|
|
})
|