Less File Watcher creates empty files in PhpStorm

326 Views Asked by At

I have setup the file watcher in PhpStorm from it's default settings. After modifying the filenames and adding --source-map argument, the generated CSS file is empty.

Arguments: --no-color --clean-css --source--map=$FileNameWithoutExtension$.min.css.map' '$FileName$ $FileNameWithoutExtension$.min.css

And when I run the command directly in Mac Terminal, the file is generated well.

1

There are 1 best solutions below

0
On BEST ANSWER

Uncheck Create output file from stdout in Advanced Options of your File Watcher