Skip to main content

Automatic compilation of modified LESS files.

Project description

# lesswatch

Watches LESS files, and automatically compiles them when they
are changed.

## Usage

$ lesswatch <DIR>

## Installation

pip install lesswatch

or

git clone https://github.com/jkeyes/lesswatch.git
cd lesswatch
python setup.py install

## External Dependencies

lesswatch used the [lessc compiler](http://lesscss.org/#guide)
and it must be on the PATH.

First you need to download and install node.js. Download the latest
stable version of [node.js](http://nodejs.org/#download) and
extract the contents from the archive: `tar xf node-v0.4.12.tar.gz`.

Then:

$ cd node-v0.4.12
$ ./configure
$ make
$ make install

Then you need to install LESS:

$ npm install -g less

Try `lessc` to see if this was successful:

$ which lessc
/usr/bin/lessc
$ echo "body { color: red; }" > test.less
$ lessc test.less
body {
color: red;
}

Project details


Release history Release notifications

This version
History Node

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
lesswatch-0.2.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None Jun 14, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page