Reputation: 810
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?
Upvotes: 1
Views: 57
Reputation: 3083
If you have set config.assets.initialize_on_precompile
to true
in your production.rb file then all you need to do is restart your server. Otherwise just delete the precompiled assets by running bundle exec rake assets:clean
and precompile assets again bundle exec rake assets:precompile RAILS_ENV=production
.
Upvotes: 3