Mladen Janjetovic
Mladen Janjetovic

Reputation: 14724

Less File Watcher creates empty files in PhpStorm

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.

Upvotes: 2

Views: 342

Answers (1)

Mladen Janjetovic
Mladen Janjetovic

Reputation: 14724

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

Upvotes: 7

Related Questions