【问题标题】:Whats the new command that replaces `compass -w`?替换 `compass -w` 的新命令是什么?
【发布时间】:2011-07-26 05:39:45
【问题描述】:

我正在尝试安装https://github.com/markyoung/silk-sass-mixin

$ (sudo) gem install compass
$ git clone http://github.com/zarzax/silk-sass-mixin.git
$ cd silk-sass-mixin
$ compass -w

我明白了

D:\ResourceLibrary\Frameworks\silk-sass-mixin>compass -w WARNING: This interface is deprecated. Please use the new subcommand interface. Seecompass 帮助for more information.

那么新命令是什么?

【问题讨论】:

  • 您是否按照输出中的指示看到了帮助?
  • @Sarwar Erfan,是的,我有一个命令列表,我应该使用哪一个?我是SASS/Compass的初学者,我什至不知道-w是做什么的?

标签: sass compass-sass


【解决方案1】:

-w 监视项目的变化并在发生变化时重新编译。

watch的新命令命令是:

compass watch [path/to/project] [path/to/project/src/file.sass ...] [options]

按照你使用的方式(因为你要使用cd silk-sass-mixin进入项目目录,所以你需要使用

compass watch

代替

compass -w

【讨论】:

  • ic,我以为是安装“插件”
猜你喜欢
  • 2016-08-13
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2021-07-26
  • 1970-01-01
  • 2016-12-21
  • 1970-01-01
  • 2022-07-17
相关资源
最近更新 更多