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

  1. import gulp from 'gulp';
  2. import gulpif from 'gulp-if';
  3. import gutil from 'gulp-util';
  4. import args from './util/args';
  5. gulp.task('browser', (cb)=>{
  6. if(!args.watch) return cb();
  7. gulp.watch('app/**/*.js', ['scripts']);
  8. gulp.watch('app/**/*.ejs', ['pages']);
  9. gulp.watch('app/**/*.css', ['css']);
  10. })