2

How can I set up Gulp to automatically convert my ".scss" code into standard CSS? Currently, I need to run a terminal command each time I want to compile, but I'd like to avoid having to do that repeatedly.

9

1 Answer 1

6

Just use

sass --watch app/sass:public/stylesheets

this where:

app/sass is location of scss files and public/stylesheets location where you want to have css. It will automatically convert scss to css after each save of the sass files.

More details here: http://sass-lang.com/guide

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.