首页 > 解决方案 > PhpStorm SCSS file-watcher creates duplicates

问题描述

I recently added a SCSS file-watcher in PhpStorm and generally it does what it is suppose to. The only issue I have is that it creates a new folder within the sass-folder everytime it synchronizes. The new folder doesn't have a name but it includes the files of the sass-folder.

These are the settings of the file watcher: enter image description here

Scope: The sass-folder

Arguments: --style expanded --no-cache --update $FileName$:../css/$FileNameWithoutExtension$.css

Output paths to refresh: ../css/$FileNameWithoutExtension$.css:.../css/$FileNameWithoutExtension$.css.map

Is there something wrong with the settings?

标签: csssassphpstorm

解决方案


输出路径中有 3 个点。将其更改为:

../css/$FileNameWithoutExtension$.css:../css/$FileNameWithoutExtension$.css.map

推荐阅读