【发布时间】:2012-04-02 22:25:20
【问题描述】:
类似这样的:
sass --watch style.css:(other than root directory)
//or
sass --watch (other directory than .scss file):style.scss
【问题讨论】:
类似这样的:
sass --watch style.css:(other than root directory)
//or
sass --watch (other directory than .scss file):style.scss
【问题讨论】:
来自sass --help的输出:
--watch Watch files or directories for changes.
The location of the generated CSS can be set using a colon:
sass --watch input.sass:output.css
sass --watch input-dir:output-dir
可以,没有任何限制。只需使用您调用sass 的目录作为基本路径或绝对路径。例如:
sass --watch relative/path/to/a/scss/file:/absolute/path/to/a/css/file
【讨论】: