JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 17
  • Score
    100M100P100Q34894F
  • License MIT

File changes watcher & post processor

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