Reputation: 2706
I am messing around with CSS in rails and have created this masterpiece of a css file:
h1 {
color: red;
}
but rails will not load this locally until I precompile assets. This strikes me as relatively odd behavior. Does anyone know why?
I have this: <%= stylesheet_link_tag :application %>
in my application.html.erb and config.serve_static_asset = true
in my config/environment/development.rb
.
I guess it still works, but being able to reload without precompiling would be nice.
Upvotes: 0
Views: 51
Reputation: 11509
Try running 'rake assets:clean' to remove your old precompiled assets.
Upvotes: 1