user2759575
user2759575

Reputation: 553

Scss not loading in development

Up until yesterday styles.scss loaded fine but today when I make new changes to styles.css.scss they do not load (in development).

Rake assets: clean works but I have to do that every time to change css.

My application.css looks like this (hasn't changed):

 /*
 *= require_self
 *= require_tree .
 */

I know this isn't a lot of information but i'm not sure what else to add.

EDIT

OK so i got it to work by adding this to to environments/development.rb:

config.assets.compile = true

This was not there before and everything was working so any idea why i needed to add it today?

Upvotes: 0

Views: 505

Answers (1)

Chloe
Chloe

Reputation: 26264

Yes, application.css.scss starts with a comment, which is missing!

/*

I don't believe it was compiling and wash giving an error in the console/log file.

Upvotes: 1

Related Questions