D
D
dumistoklus2012-04-07 12:24:56
css
dumistoklus, 2012-04-07 12:24:56

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

4 answer(s)
M
mark_ablov, 2012-04-07
@mark_ablov

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.

L
Lakewake, 2012-04-07
@vedmaka

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.

K
kuzemchik, 2012-04-09
@kuzemchik

I use the LESS app for mac, it keeps track of file changes by itself

S
Sergey Predvoditelev, 2014-01-11
@NikoX

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 question

Ask a Question

731 491 924 answers to any question