Once I’ve done bundle exec rake assets:precompile RAILS_ENV=production
It seems that it created something like application-e24jrjf834jg93bwuk13uy5gfd1y24f.css
Then when I access to the page, that is called from my app.
In development mode, I could add changes to just to css file and it applied.
In production mode, can I still add little changes to css?
If possible, how?
If you have set
config.assets.initialize_on_precompiletotruein your production.rb file then all you need to do is restart your server. Otherwise just delete the precompiled assets by runningbundle exec rake assets:cleanand precompile assets againbundle exec rake assets:precompile RAILS_ENV=production.