My scss has the following structure:
Nested directory view:
style
sass
components
_somecomponent.scss
_someothercomponent.scss
style.scss
style.css
Collapsed directory view:
style/style.css
style/sass/style.scss
style/sass/components/_somecomponent.scss
style/sass/components/_someothercomponent.scss
style.scss
includes _somecomponent.scss
and _someothercomponent.scss
, and is supposed to generate style.css
. It does all of this correctly, but the output file is not in the correct directory. Currently it outputs to style/sass/style.css
.
Webstorm is configured with the following parameters:
Program: /usr/bin/sass
Arguments: --no-cache --update $FileName$:$FileNameWithoutExtension$.css
Working directory: $FileDir$
Output path: $FileParentDir$$FileNameWithoutExtension$.css
The phpstorm
tag has been added because it shares the same file watcher with webstorm
. I am using Mac OS X, with the latest Webstorm 9.x.
How do I fix the output path?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…