How to setup Filewatchers correctly

In PHP Storm 2020.2.3 i have enabled Filewatcher to compile CSS for me.

When I make changes to the file "my_project/sass/main.scss" I like it to be compiled to the file "my_project/css/main.min.css"

How do I make Filewatcher do this? This is my current settings:

..and this is my main.scss:

0
1 comment

Solved:

I didn't install sass globally, so I ran "npm i sass -g"

 

0

Please sign in to leave a comment.