I have searched over the web & stackoverflow about this topic but could not find a comprehensive guide even in heroku's web site.
I have a rails app and when I push the app to heroku here are the steps I am following;
- rake assets:clobber
- bundle exec rake assets:precompile RAILS_ENV=production
- git init
- git add .
- git commit -m "message"
- git push heroku master
Voila!, but then when I make changes in js and/or css files, I start again from number 1 deleting assets then precompile etc as I mentioned. But sometimes I can not see the differences I make on heroku. When I destroy the heroku app and push again there I see.
I am wondering, whether I have to clean Heroku assets as well like rake assets:clobber
.
Some people say that when you push to Heroku, it resets asset files automatically but then what is the reason sometimes I can not see the differences.
When committing to git git commit -m "message"
do you think this message part must be unique?, maybe when commit with the same message, they create a conflict ?
Thank you