Open dheian opened 10 years ago
Here with the same issue, anyone with a solution?
+1
Please make grunt-newer work again with grunt-contrib-imagemin. It doesn't no matter how you configure it.
Hi i find solution to this issue. In my example imagemin changes modification date of image by cleaning milliseconds from original file.
Original file: 2016-04-15 12:16:14.877814125 +0200
Complied file: 2016-04-15 12:16:14.000000000 +0200
my solution to this is set option in newer task tolerance: 1000
or more.
options: {
tolerance: 1000
}
Installed newer today and started using it with imagemin. Though the only task specified is newer:imagemin:dynamic, I found that it ran followed by imagemin dynamic:
Here's the config:
Thanks for any advice.