Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gulp truncates file time #1455

Closed
jcmoore0 opened this issue Dec 25, 2015 · 3 comments
Closed

Gulp truncates file time #1455

jcmoore0 opened this issue Dec 25, 2015 · 3 comments

Comments

@jcmoore0
Copy link

Issue: Gulp.Dest truncates file modified time (down to the second)

version: 4.0.0-alpha.2
[21:19:57] 1450153068177 - src stat.mtime.getTime()
[21:19:57] 1450153068000 - dest stat.mtime.getTime()

var newer = require('gulp-newer');
var debug = require('gulp-debug');
var gutil = require('gulp-util');
gulp.task('test', () => {
gutil.log('testing');
return gulp.src('app/assets/img/**')
.pipe(newer('tmp'))
.pipe(debug())
.pipe(gulp.dest('tmp'));
});

@yocontra
Copy link
Member

Which version of gulp is this? 4.0 or 3.x?

@jcmoore0
Copy link
Author

4.0.0-alpha.2
Thanks

@phated
Copy link
Member

phated commented Dec 26, 2015

Thanks for finding and reporting. This was actually reported and fixed by gulpjs/vinyl-fs#125 which we should be releasing soon but we have a bigger bug that needs to be fixed in the same release.

@phated phated closed this as completed Dec 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants