gzzz / gulp-preservetime

Preserves the file modification and accessed time of a file copied using gulp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gulp-preservetime

Preserves the file modification and accessed time of a file copied using gulp

Install

Install with npm

npm install --save-dev gulp-preservetime

Example

var gulp = require('gulp');
var preservetime = require('gulp-preservetime');

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

Changelog

1.1.0

  • Support microsecond precision on file times using futimes instead of utimes (thanks ibobo)

About

Preserves the file modification and accessed time of a file copied using gulp


Languages

Language:JavaScript 100.0%