Skip to content

tjgq/wess

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Invokes the Less compiler in watch mode, triggering a recompilation whenever the dependencies change.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published