2.0.0 • Published 6 years ago

gulp-touch-fd v2.0.0

Weekly downloads
487
License
ISC
Repository
github
Last release
6 years ago

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());
});