SASS: Updating the css file in different folders?

0

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

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

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

Thank you!

    
asked by anonymous 14.07.2018 / 14:00

1 answer

0
sass --watch input: output

that is:

sass --watch scss:css

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

sass file.scss ../path/to/file.css
    
03.08.2018 / 00:11