E
E
EVOSandru62016-07-25 10:41:58
css
EVOSandru6, 2016-07-25 10:41:58

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;
    }
}

They compile to CSS , but if there are variables in the Less file code, then the CSS file is overwritten (((
Why is this possible?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question