什么是命令“指南针手表"的等价物?对于 LESS CSS 预处理器? [英] What is the equivalent of command "Compass watch" for LESS CSS pre-processor?

查看:27
本文介绍了什么是命令“指南针手表"的等价物?对于 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.

推荐答案

  1. 你需要安装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 预处理器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆