gatsby-style-guide-guide icon indicating copy to clipboard operation
gatsby-style-guide-guide copied to clipboard

SCSS files not updating the UI

Open poohbers opened this issue 7 years ago • 1 comments

I'm trying to edit the SCSS files but non of my changes are being applied. I have to go into style.css to make changes.

I installed the Gatsby SASS plugin to see if that would make it work, but nothing so far. What's the trick to get this working?

poohbers avatar Jul 15 '18 18:07 poohbers

Hey @poohbers, the trick for getting Sass to compile is to install Sass then open a new terminal window in your project and run the following command:

sass --watch ./src/css/style.scss:./src/css/style.css

This isn't ideal since it isn't built into the Gatsby workflow, so I'll leave this issue open for anyone who would be willing to work Sass compilation into the Gatsby build process.

bradfrost avatar Jul 15 '18 21:07 bradfrost