What is the equivalent of command quot;Compass watchquot; for LESS CSS pre-processor?(什么是命令“指南针手表的等价物?对于 LESS CSS 预处理器?)
问题描述
我使用 SASS 作为 Drupal 主题的 CSS 预处理器.如果我使用 $ compass watch
,在命令行的哪个位置.它会持续观察 .scss 文件的变化并应用于 .css 文件.
I was using SASS as CSS pre-processor for Drupal theme. Where in the command line if I use $ compass watch
. It keep on watching the change in .scss file and apply to .css file.
只是我正在尝试 Bootstrap 主题,我正在使用 LESS CSS 预处理器,我每次都必须使用 $ lessc less/style.less css/style.css
应用更改.
Just I am trying Bootstrap theme and there I am using LESS CSS pre-processor, Where I have to use $ lessc less/style.less css/style.css
every time to apply change.
LESS 的 $ compass watch
是什么.
What is the equivalent of $ compass watch
for LESS.
推荐答案
你需要安装less-watch-compiler:
npm install -g less-watch-compiler
确保您在全局范围内安装 less:npm install -g less
Make sure you installed less globally:
npm install -g less
这篇关于什么是命令“指南针手表"的等价物?对于 LESS CSS 预处理器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:什么是命令“指南针手表"的等价物?对于 LESS CSS 预处理器?


基础教程推荐
- WatchKit 支持 html 吗?有没有像 UIWebview 这样的控制器? 2022-01-01
- jQuery File Upload - 如何识别所有文件何时上传 2022-01-01
- 如何在特定日期之前获取消息? 2022-01-01
- 如何使用 CSS 显示和隐藏 div? 2022-01-01
- Javascript 在多个元素上单击事件侦听器并获取目标 2022-01-01
- 每次设置弹出窗口的焦点 2022-01-01
- 什么是不使用 jQuery 的经验技术原因? 2022-01-01
- 如何使用sencha Touch2在单页中显示列表和其他标签 2022-01-01
- 为什么我在 Vue.js 中得到 ERR_CONNECTION_TIMED_OUT? 2022-01-01
- Node.js 有没有好的索引/搜索引擎? 2022-01-01