grunt-cloudfiles
grunt-cloudfiles copied to clipboard
upload.dest setting causes all uploads to be considered (NEW)
when upload.dest = '/'
, it works as expected and only new files are uploaded. I changed it to upload.dest='assets/'
, and now it uploads every file as (NEW).
I definitely need to get some tests in around this code. It's on my list of things to do, hopefully it happens here soon.
My first hunch is to try putting in a leading slash so upload.dest='/assets/'
, it didn't use to require it, but last time I used this was before we moved to pkgcloud.
I'll see what I can dig up.
I just tried '/assets/'
and unfortunately, everything still says (NEW).
Fun, I didn't see anything obvious in the code, and I know this use to work. I'll try to dig into in the next day or two.
Thanks so much! I'l look into it as well.
Thanks to you @rtgibbons, this issue helped me to quickly understand why everything was always uploading as (NEW). Is there any update on this issue? Should I try to help you guys?
any help is appreciated. My time is sped so thin right now at work, i haven't had time to work on these outstanding issues.
Any help that is accompanied any type of unit tests would be even cooler.