I deploy code to my production server using git. This might include changes to JS and CSS files.
Do I have to run rake assets:clean
at all before I run rake assets:precompile
? I'm worried that not cleaning the previous precompiled assets might have side effects.
This is a little silly, but my google-fu didn't find any answers. My AWS instance runs rake assets:clean
pretty slowly and I'm wondering if it's needed at all.
Also, can I replace the clean command with a simple rm -r public/assets
?