D
D
dm2016-02-20 20:51:58
css
dm, 2016-02-20 20:51:58

Why doesn't SASS in PhpStorm compile to the right folder?

I want to configure that style.scss in the sass folder is compiled to style.css in the css folder.
Screenshot of the File watcher setting
c78ae03c6d054e08bacf887b64b2f880.jpg1a84a266798f4c788f31d1e1c33af0aa.jpg
Compiling less with these settings works as it should, and scss is compiled into the same folder. What is the reason?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
sergey, 2016-02-20
@Chekhoved

in the Arguments field, write:
--no-cache --update $FileName$:$FileParentDir$/css/$FileNameWithoutExtension$.css
where $FileParentDir$/css/ is the path to the css folder.
in the Output paths to refresh field we write: $FileParentDir$/css/$FileNameWithoutExtension$.css
and everything will work, whather for Less and Sсss is different

S
Sergi0Limit, 2016-02-20
@Sergi0Limit

The process of compiling sass/scss in phpstorm via ruby ​​is very slow.
I used to use it too, until I discovered gulp, which solves all these issues and more in less time.

G
Georgy Eremeev, 2016-02-20
@GogElf

9012246e6ca747adb4630199fbc71551.jpg
Mark SCSS folder as source

--no-cache --update $ProjectFileDir$\scss\$FileDirRelativeToSourcepath$\$FileNameWithoutExtension$.scss:$ProjectFileDir$\css\$FileDirRelativeToSourcepath$\$FileNameWithoutExtension$.css

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question