Run command on file change
- Install node and npm
- Install less-watch-spass globally
$ npm i -g less-watch-spass
Obeserve a file and run a command on file save:
$ less-watch-spass <file> <command>
(Say command only on mac)
$ less-watch-spass .zshrc 'say file changed'