nash63
nash63

Reputation: 59

File watcher doesn't generate CSS from Less file in PhpStorm

I'm trying to setup a file watcher for my style.less file.

In my style.less file I've just referenced a child theme and added some variables:

//style.less
@import "../../maxstore/style.css";
@font-family:'Rabbid-Highway-sign-ii', sans-serif;
@highlight: #d77832;

body{
    background-color:green;
}
h1.site-title {
    font-size: 36px;
    font-weight: bold;
    font-family: @font-family;
}
.header-categories .accordion-toggle{
    background-color:@highlight;
}

I'm using a mac and here's the screenshot of my configuration

enter image description here

I still unable to generate my style.css file from my style.less file.

Upvotes: 1

Views: 434

Answers (1)

Mladen Janjetovic
Mladen Janjetovic

Reputation: 14724

You should have both less file path and css file path in Arguments

$FileName$ ../css/$FileNameWithoutExtension$.css

Upvotes: 1

Related Questions