Phpstorm scss file watcher issue

870 Views Asked by At

I have this file structure and wacther configuration: The problem is that when I save my scss file the css file is updated in IDE only if I switch focus from IDE window and back again.

P.S.: if I configure scss watcher to compile css files in the same directory where source scss files are located, then css files are uptated right after compilation(as it should).

1

There are 1 best solutions below

0
On BEST ANSWER

As suggested in my comment: alter your path in "Output paths to refresh" to point to the actual output file (as in "Arguments" field) and not just folder: i.e. add /$FileNameWithoutExtension$.css at the end.