Answer the question
In order to leave comments, you need to log in
Why doesn't phpstorm compile less to css if there are variables in the file?
Good day,
Prepared for compilation in File Watcher according to the instructions :
Installed less globally via npm and locally via bower, set the path to bin: /usr/bin/lessc in Program ,
Checked immediate file immediate file synchronization
File type - less Checkbox Create output file from stdout Working Directory - $FileDir$
- default Arguments --no-color $FileName$ Scope - Project Files Output paths to refresh - $FileNameWithoutExtension$.css Show Console - Error
The problem is this:
Less files with content like:
body{
height:100%;
p{
color: red;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question