gatsby-style-guide-guide
gatsby-style-guide-guide copied to clipboard
SCSS files not updating the UI
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?
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.