I have collectstatic --noinput running each time I push to Heroku. New files get copied, but old files with changes don't get overwritten. Deleting a file and pushing to heroku however, replaces that one specific file as expected.
How can I get collectstatic to overwrite files with changes?
Have you tried collectfast? https://github.com/FundedByMe/collectfast.
This plugin is designed for S3, and it compares the MD5 of the files so it will upload changed files.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With