execw

Execute any program (e.g. lessc) with watching for file changes. Can recursively scan folders.

Usage no npm install needed!

<script type="module">
  import execw from 'https://cdn.skypack.dev/execw';
</script>

README

Execw

Example:

  • execw lessc css/ will scan recursively css/ folder for any *.less files and it will compile them into *.css. Then program will watch every *.less file and it will recompile it on every file change.