Semih 406
Semih 406

Reputation: 21

How to start compile SCSS to CSS on PhpStorm for example with File Watcher

I have start using SCSS for the frontend, and can setup it correctly with PhpStorm on the a MacBook Pro with Mojave installed.

First I install the npm: first i install the npm

Then I setup the file watcher: then i setup the file watcher

But it does not work. Something what I not seeing here?

Upvotes: 0

Views: 879

Answers (1)

lena
lena

Reputation: 93728

If you like the .css files to be generated in the same folder as original file, try the following settings:

enter image description here

Note the Create output file from stdout option - it has to be enabled, as node-sass writes CSS to stdout unless the -o option is passed.

If you like to place generated files in a separate folder, use the -o option:

enter image description here

Upvotes: 1

Related Questions