gulp-touch-fd

Sets file modification times for files copied by gulp

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gulp-touch-fd
2.0.05 years ago5 years agoMinified + gzip package size for gulp-touch-fd in KB

Readme

gulp-touch-fd
Set the file modification and accessed time of a file copied using gulp to "now"

Fork

This is a fork of git.smhi.se/a001867/gulp-touch. It corrects an error with the callback and is made compatible for Node.js v8.x.

Install with npm

npm install --save-dev gulp-touch-fd@funkedigital/gulp-touch-fd

Install with Yarn

yarn add gulp-touch-fd@funkedigital/gulp-touch-fd -D

Example

var gulp = require('gulp');
var touch = require('gulp-touch-fd');

gulp.task('default', function() {
    gulp.src('./src/**/*')
        .pipe(gulp.dest('./dest'))
        .pipe(touch());
});