Answer the question
In order to leave comments, you need to log in
less in PHPStorm. How to autostart External tools when saving a file?
With the help of this thing , I connected the less compiler to PHPStorm as an external tool.
My settings:
Which now allows you to compile from less to css with a single click directly from the IDE.
I want to get rid of pressing this button so that the compilation takes place when the LESS file is saved.
How to do it?
Answer the question
In order to leave comments, you need to log in
there is no way with phpstorm tools yet - youtrack.jetbrains.com/issue/IDEABKL-6156
maybe there are third-party win-tools that monitor file changes and, in which case, launch the specified program.
I made such a crutch using phplessc: d.pr/1GPw
When I start working on a project, I right-click on the css file -> Watch to less, after which it compiles when I save it.
I use the LESS app for mac, it keeps track of file changes by itself
Here is a detailed instruction on how to do this: predvoditelev.ru/less_to_css_in_phpstorm_win
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question