First thing I should mention is that I'm NOT using Rails. I don't have a
task (tried it anyway, didn't work). I don't have a
folder either (tried
git rm -r public/assets
anyway, also didn't work).
For a long time, I was using Dropbox to deploy to Heroku (I'm quite the newbie to code) - I was planning on moving to git in about a month or so. But given this issue, I made the move today and tried pushing through git - also didn't work. i.e. I did a
, settled all the conflicts and then did
. Still nothing.
Basically, Heroku isn't loading any of my new CSS and JS. It detects the files just fine. Running
now says everything is up-to-date, running
says there is nothing to commit. But using Chrome's inspect tool, the JS and CSS files don't have the new code I wrote.
I also tried adding the gem
to my Gemfile and requiring
in my application_controller - this actually crashed the whole app and I removed it.
I also tried installing the
plugin and running
heroku repo:purge_cache --app my-app-name
but that also didn't work
Running the code locally, everything works fine. It's just the online version that's failing.
I updated the Heroku CLI just before trying any of this and (you guessed it!), also didn't work.
I don't know what other info you'd need, so let me know in the comments and I'll be happy to provide them :)
Any help is appreciated!