【发布时间】:2022-03-26 18:16:31
【问题描述】:
简单的一个,但在网上任何地方都找不到答案!在我的 Mac 上全局安装了 sass (npm install -g sass)。
这按预期工作:
sass style.scss style.css
那我试试:
sass --watch style.scss:style.css
得到:
Could not find an option named "watch".
Usage: sass <input> [output]
--[no-]stdin Read the stylesheet from stdin.
--[no-]indented Use the indented syntax for input from stdin.
-I, --load-path=<PATH> A path to use when resolving imports.
May be passed multiple times.
-s, --style=<NAME> Output style.
[expanded (default), compressed]
-c, --[no-]color Whether to emit terminal colors.
-q, --[no-]quiet Don't print warnings.
--[no-]trace Print full Dart stack traces for exceptions.
-h, --help Print this usage information.
--version Print the version of Dart Sass.
我错过了什么??
谢谢!!
【问题讨论】: