Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku CSS file not updating

In regards to a Facebook APP I am currently building, I changed some of the codes in the base.css file in Heroku, and when I use the commands:

git commit -am
git push heroku

The page still looks the same after reloading, getting the message "Everything up-to-date".

What am I missing/doing wrong?

Location of the file is: stylesheets/base.css

I also tried:

git push heroku stylesheets

but that didn't help

like image 841
Funk Forty Niner Avatar asked Jun 29 '12 18:06

Funk Forty Niner


2 Answers

I was having the same problem with Django on heroku. After following the standard git add, commit, push loop - the server's CSS was not updating. Everything, including static files, had been pushed to the server.

Restarting the heroku server worked though:

heroku restart

Give that a go!

like image 173
Richard Boardman Avatar answered Oct 15 '22 17:10

Richard Boardman


For me it was Cloudflare caching my styles.

like image 41
Anthony Avatar answered Oct 15 '22 15:10

Anthony