README
Intro
Run a command when a file/directory is changed
Install
npm install --save git+https://github.com/anzerr/entr.cli.git
npm install --save @anzerr/entr.cli
git clone git+https://github.com/anzerr/entr.cli.git &&
cd entr.cli &&
npm link
Example
entr -r index.js ls -la .
entr -p package.json npm i
// no-eval gives you full control
entr -p package.json --no-eval sh -c "rm -f package-lock.json && npm i"
// run change when ts file is edited outside of node_modules
entr -e "(node_module|git)" -i '^(?!.*node_modules).*\.ts