watch files and take actions on changes
npm install filewatcher-cli
A CLI utility to watch file / directory changes and take actions.
Install: npm install -g filewatcher-cliRun: filewatcher --filename=myfile.txt --cmd='ls -lh'
npm install -g filewatcher-cli
filewatcher --filename=myfile.txt --cmd='ls -lh'