Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compile less css files using brunch

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

like image 474
Lt. Avatar asked Mar 14 '26 20:03

Lt.


1 Answers

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

like image 143
Paul Miller Avatar answered Mar 16 '26 12:03

Paul Miller



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!