How to use the gulp-changed.compareLastModifiedTime function in gulp-changed

To help you get started, we’ve selected a few gulp-changed examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github softindex / uikernel / gulp / jsPrecompile.js View on Github external
function jsPrecompile() {
  return gulp.src(['src/**/*.js'])
    .pipe(changed('lib', {hasChanged: changed.compareLastModifiedTime}))
    .pipe(count('babel transplit ## files'))
    .pipe(babel({sourceMap: argv.map ? 'inline' : false}))
    .pipe(gulp.dest('lib'));
}

gulp-changed

Only pass through changed files

MIT
Latest version published 12 months ago

Package Health Score

66 / 100
Full package analysis