1.2.1 • Published 8 years ago

gulp-preservetime v1.2.1

Weekly downloads
220
License
ISC
Repository
github
Last release
8 years ago

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.2.1

  • Fix Pipe Interruption (thanks gzzz)

1.1.0

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