Flag to not overwrite images for imagemin-cli #226

Open
kvz opened this Issue Jan 5, 2017 · 0 comments

Projects

None yet

1 participant

@kvz
kvz commented Jan 5, 2017

It would be great if imagemin-cli had a flag to not overwrite images. This way I could set up my build pipes to take images from assets/images and write them to assets/build/images, and if I did not add any new images, it should complete near-instantaneous.

Quick runs would allow me to hook imagemin into my development flow, where I'd drop an image in the source dir, a change would be detected by nodemon, and imagemin would only minify the newly added image into the destination dir so that i can reference the build dir immediately without kicking a longer imagemin and looking at 404s.

Hope I make sense :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment