less-watch-spassdeprecated

Run command on file change

Usage no npm install needed!

<script type="module">
  import lessWatchSpass from 'https://cdn.skypack.dev/less-watch-spass';
</script>

README

less-watch-spass

Run command on file change

Installation

  1. Install node and npm
  2. Install less-watch-spass globally
$ npm i -g less-watch-spass

Usage

Obeserve a file and run a command on file save:

$ less-watch-spass <file> <command>

Example

(Say command only on mac)

$ less-watch-spass .zshrc 'say file changed'