尽管在args中设置了--no-cache,但是由于缓存的原因,无法在WebStorm中将sass用作文件监视程序

问题描述

我正在尝试将WebStorm设置为使用sass。

我将观察者指向我的sass文件,并在参数中指定--no-cache,但在尝试编译sass时仍然出现此错误

/usr/local/lib/node_modules/sass/sass.js --no-cache --update main.scss:main.css
Could not find an option named "cache".

Usage: sass <input.scss> [output.css]
       sass <input.scss>:<output.css> <input/>:<output/> <dir/>

我看到了有关此错误的其他问题,但是所有人都说要向观察者添加--no-cache arg,但这是行不通的。

enter image description here

--no-cache不起作用时如何禁用缓存?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)