Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Asset Pipeline Not Compiling On Local Server

I just upgraded to Rails 3.1 and I'm having an issue with the Asset Pipeline. Basically when I'm doing local dev and I make a change to any of my .css.scss files I have to run:

rake assets:precompile

On the command line and THEN refresh the browser before I can see any style changes. How can I make it so that it automatically precompiles every time I reload the page in development?

Thanks in advance!

like image 596
dshipper Avatar asked Feb 23 '23 05:02

dshipper


1 Answers

Check out the last section of the assets pipeline guide, and make sure that the settings you have in your upgraded app's config files match those in the guide.

Delete the files you have in public/assets and you should be good from there.

like image 132
Richard Hulse Avatar answered Mar 03 '23 15:03

Richard Hulse