Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including simp-less with all npm packages installed. Try it out:

var simpLess = require("simp-less")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

simp-less v1.1.5

watch less file directory and mirror into css output directory

#simp-less a simple package for watching a less directory and compiling it into source code

##installation npm i simp-less [-g]|[--save-dev]|[--save]

usage

cli

usage: simp-less --in directory --out directory
    --in                directory in
    --out               directory out
    -R,--recursive      recursive watch (with --recursive specify level) default 0
    -W                  watch
    -m,--minify         minify css output
    -c,--concat         concatenate all input files together into one output

npm scripts

scripts: {
    ...
    "watch:less": "simp-less --in directory --out directory -WR",
    ...
}

notes

still in progress. basic recursive watch with/without minification is most functionality right now. One time compilation is under construction.

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free