tschaub / grunt-newer

Configure Grunt tasks to run with newer files only.
https://npmjs.org/package/grunt-newer
MIT License
944 stars 53 forks source link

When src and dest are the same and one-to-one #42

Closed btholt closed 9 years ago

btholt commented 10 years ago

Now works where src and dest files are the same and there's only one src file (for in-place operations like some grunt-contrib-imagemin use cases.)

Aims to resolve issue #40

tschaub commented 10 years ago

Thanks for digging intro this @btholt. This looks promising. Will merge it in when I can give it a closer look.

btholt commented 10 years ago

No problem! Hope it helps! It could probably use a test case too but I'm not terribly versed in testing Grunt plugins. Let me know if can help more.

tschaub commented 9 years ago

Whew. That took a while. Apologies.

Thanks for the fix @btholt. It looks like we can simplify things a bit after this change. I'll handle that separately.

btholt commented 9 years ago

\o/ Thank you!