Is there a good way to work so I dont have to precompile my assets locally everytime I make a change in my css/js files? i.e. just precompiling before pushing?
Currently I dont see the changes in my local server until they’ve been precompiled..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Run:
rake assets:clean(possibly with
bundle execin front of it). This will clear the local cache, and allow you to make changes on the fly in the development environment. Unless you explicitly run this (after precompiling and pushing your changes) it will keep going to the compiled assets, as you’ve noticed.