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 | RSS feed

This version

0.2

Download files

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

Source Distribution

lesswatch-0.2.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file lesswatch-0.2.tar.gz.

File metadata

  • Download URL: lesswatch-0.2.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lesswatch-0.2.tar.gz
Algorithm Hash digest
SHA256 a76830546798664e5dee4ed208300457737892baacbacb395c8780ab0d374656
MD5 1571e4db637ffa261f1726347c523a7c
BLAKE2b-256 05900df377afedeadd27b7c57a054904a5b1021f9adc55e1a30a3209036f83ae

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page