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.

9 lines
266 B

4 years ago
  1. import gulp from 'gulp';
  2. import gulpif from 'gulp-if';
  3. import livereload from 'gulp-livereload';
  4. import args from './util/args'
  5. gulp.task('pages',()=>{
  6. return gulp.src('app/**/*.ejs')
  7. .pipe(gulp.dest('server'))
  8. .pipe(gulpif(args.watch, livereload()))
  9. })