Frage

I'm looking for the best way to compile the less files using brunch. Since I'd like to do it in the server side, I was thinking that I have to compile using a bash script (or something like that).

I noticed that there is a plugin for using less + brunch, but I'm not sure how to use it. I'd be great if I could edit the less files and get an automatically update when the brunch watch --server is running

Anyone knows how to do it?

Thanks in advance

War es hilfreich?

Lösung

All the info from the official site:

http://brunch.io/#plugins-list

1.

To install new plugin, simply execute npm install --save plugin-name. This will install its node.js dependencies and save to package.json.

2.

All plugins are available at the Plugins wiki page.

3.

https://github.com/brunch/less-brunch

4.

npm install --save less-brunch

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top