Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SCSS files not updating the UI #5

Open
poohbers opened this issue Jul 15, 2018 · 1 comment
Open

SCSS files not updating the UI #5

poohbers opened this issue Jul 15, 2018 · 1 comment

Comments

@poohbers
Copy link

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?

@bradfrost
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants