PhpStorm 9 和 Compass:无效选项 --no-cache

PhpStorm 9 and Compass: invalid option --no-cache

当我在任何 .scss 文件中保存更改时,Compass 会尝试 运行,我得到这个:

cmd.exe /D /C call C:/Ruby193/bin/compass.bat --no-cache --update example.scss:example.css
Error: invalid option: --no-cache

Process finished with exit code 1

我不确定 --no-cache 的来源或问题所在。

运行 Windows 8

上的 Compass 1.0.3 和 PhpStorm 9.0.2

你是 运行 Compass with Sass command line options - 这就是问题所在。创建观察者时,请务必选择'Compass SCSS',而不是'SCSS'。或者,相应地更改您的观察者设置,例如

Program: C:/Ruby193/bin/compass.bat
Arguments: compile
Working directory: $ProjectFileDir$
Output paths to refresh: $ProjectFileDir$/stylesheets

以上设置假定您的 config.rb 位于项目根文件夹中,并且 css_dir = "stylesheets"