You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thanks for your work.
I had a problem when I was moving images or copying them. It was not being copied, or it was copied with its old name. It quite bored me.
The problem comes from the cache.
It was fixex fallowinf this post : http://stackoverflow.com/questions/21532903/strange-images-issue-with-gulp-js
using gulp-newer :
npm install gulp-newer --save-dev
and int gulpfile:
gulp.task('images', () => {
return gulp.src('app/images/**/*')
.pipe($.newer('dist/images'))
.pipe($.imagemin({
progressive: true,
interlaced: true,
// don't remove IDs from SVGs, they are often used
// as hooks for embedding and styling
svgoPlugins: [{cleanupIDs: false}]
}))
.pipe(gulp.dest('dist/images'));
});
The text was updated successfully, but these errors were encountered:
Hello,
Thanks for your work.
I had a problem when I was moving images or copying them. It was not being copied, or it was copied with its old name. It quite bored me.
The problem comes from the cache.
It was fixex fallowinf this post :
http://stackoverflow.com/questions/21532903/strange-images-issue-with-gulp-js
using gulp-newer :
npm install gulp-newer --save-dev
and int gulpfile:
The text was updated successfully, but these errors were encountered: