1
bundle exec rake assets:precompile

which compiles assets and moves them into public/assets/ Now suppose i already compiled assets and deploy on production, Now i comeback to my local machine and changes two lines in some javascript file Now I have to run the task again while deploying on production.

I want that it should not compile css because i have not done any changes in css. Is there any command which compiles only javascript

Like this

bundle exec rake assets:precompile --javascript
1
  • Bhai log koi tou answer de do Commented Mar 15, 2013 at 11:00

1 Answer 1

1

Try this gem. http://rubygems.org/gems/turbo-sprockets-rails3 It checks which file is changed and speed up precompile.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.