0.3.0 • Published 7 years ago

wess v0.3.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

wess

Invokes the Less compiler in watch mode, triggering a recompilation whenever the source file or one of its (possibly indirect) import dependencies changes.

wess(path, options)

Receives the path to the source file and options to be passed into less.render().

Returns an EventEmitter that emits the following events:

  • change(path) - when one of the watched files changes
  • error(err) - on compilation or watch error
  • compile(output) - on successful compilation; output is as for less.render().

Call stop() on the returned object to stop watching.

0.3.0

7 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago