I need to precompile assets every time I make changes to see the difference in the browser

As I mentioned in the title, I need to pre-assemble the assets every time I make any changes to see how it looks. I tried config.assets.compile = truewithout success.

I also tried RAILS_ENV = 'development', but with the same effect. Please help me because it is really annoying.

My system works:

  • Xubuntu
  • Rails -v: 3.1.1
  • Ruby -v: 1.9.2p290

I also tried:

config.action_controller.perform_caching = true
+5
source share
1 answer

, rake assets:precompile . public/assets , " ".

public/assets.

+23

All Articles