Open CydGoblin opened 8 years ago
I have this task, but even if the files is not newer it keeps passing. I think gulp-rename is the culprit, seems to work when I remove it but shouldn't it work?
gulp.task('minStyles', function(){ return gulp.src('./src/assets/css/*.css') .pipe(newer('./dist/assets/css/')) .pipe(rename({suffix: '.min'})) .pipe(minifycss()) .pipe(gulp.dest('./dist/assets/css/')); });
I have this task, but even if the files is not newer it keeps passing. I think gulp-rename is the culprit, seems to work when I remove it but shouldn't it work?