chokidar-app

1.0.6 • Public • Published

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 install -g chokidar-app
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 - Optional

    1st 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/'

Package Sidebar

Install

npm i chokidar-app

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

6 kB

Total Files

5

Last publish

Collaborators

  • anandgupta