PHPStorm: How do I setup LESS to output to CSS directory with file watcher?

后端 未结 6 517
误落风尘
误落风尘 2020-12-09 09:30

How do, using File Watchers in PHPStorm do I set up LESS file watchers output path to do this:

I want:

/project/path/less/dir/file.less

to output to:

6条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-09 09:41

    To change output directory for less compiler.
    Open edit watcher in tat you will see output paths to refresh in that input box change as like this ../yourfolderpath/$FileNameWithoutExtension$.css. Now you can see less compiles .css to this path.

提交回复
热议问题