SASS: Updating the css file in different folders?

Asked

Viewed 289 times

0

I am learning SASS and would like to know how to update a file . css by Sass, when the file .scss and the .css are in different folders. For example:

The style.scss is in the folder scss and the css style. is in the folder css.

I understood that the command style.scss:style.css generates the file in the same folder, what would be the command for it to generate in different folders?

Grateful!

1 answer

0


sass --watch input: output

that is to say:

sass --watch scss:css

If you are using SASS only, a suggestion would be to specify the output path when compiling:

sass file.scss ../path/to/file.css
  • 1

    It worked here Flávio, I was not finding this information, it was clear now. Gratefully!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.