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 预处理器?


- CSS媒体查询(最大高度)不起作用,但为什么? 2022-01-01
- 使用RSelum从网站(报纸档案)中抓取多个网页 2022-09-06
- Fetch API 如何获取响应体? 2022-01-01
- Flexslider 箭头未正确显示 2022-01-01
- Css:将嵌套元素定位在父元素边界之外一点 2022-09-07
- Quasar 2+Apollo:错误:找不到ID为默认的Apollo客户端。如果您在组件设置之外,请使用ProvideApolloClient() 2022-01-01
- 失败的 Canvas 360 jquery 插件 2022-01-01
- 如何使用 JSON 格式的 jQuery AJAX 从 .cfm 页面输出查 2022-01-01
- 400或500级别的HTTP响应 2022-01-01
- addEventListener 在 IE 11 中不起作用 2022-01-01