1.0.6 • Published 6 years ago
chokidar-app v1.0.6
Chokidar App
A utility package to listen for file changes & then run desired set of 2 commands one after the other.
Installation
Preferabaly, install this package globally
- NPM - Reference
npm install -g chokidar-app- YARN - Reference
yarn global add chokidar-app --prefix /usr/localAPI
Post installation, you can start this file watcher using
start-ca [c1] pbIt accepts 2 params
c1- Optional1st command to run post file changes.
Default:
make buildpb2nd command to run after 1st command is successful.
Usage
start-ca --pb='cp -R lib ../np/node_modules/frost/'start-ca --c1='make test' --pb='cp -R lib ../np/node_modules/frost/'