Package Exports
- chokidar-app
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (chokidar-app) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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/local
API
Post installation, you can start this file watcher using
start-ca [c1] pb
It accepts 2 params
c1
- Optional1st command to run post file changes.
Default:
make build
pb
2nd 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/'