Skip to content

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

Notifications You must be signed in to change notification settings

richardlawley/gulp-preservetime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published