Quantcast
Channel: Planet Plone - Where Developers And Integrators Write
Viewing all articles
Browse latest Browse all 3535

Mock It!: "Less.app" on linux

$
0
0
From the homepage:
LESS extends CSS with dynamic behavior such as variables, mixins, operations and functions. LESS runs on both the client-side (IE 6+, Webkit, Firefox) and server-side, with Node.js.
In a production environment – unless you have special reasons not to – it's probably best to "cook" your stylesheets on the server-side. It saves browser resources and allows your site to be shown without Javascript enabled.

On the Mac, there's Less.app. The homepage looks a bit like a release announcement from Apple. What it does is to monitor a configurable set of directories for changes and invokes the "less" compiler.

On Linux, the equivalent is a few lines of bash: Note that you must have less.js (via node.js) and inotify-tools installed.

If you can't see the script embedded above, you can see the source here.

Viewing all articles
Browse latest Browse all 3535

Trending Articles