1.0.10 • Published 10 years ago

cmd-watch v1.0.10

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

cmd-watch

Command line tool to run a specific command whenever the file system changes on a targetted path.

Useful on a server to watch deployed files update and execute a kind of npm install.

Installation

npm install -g cmd-watch

Usage

Usage: node index.js

  -d, --target=ARG     Path to file or directory to watch
  -r, --retention=ARG  Retention (in ms.) before command (default: 1000ms)
  -c, --command=ARG    Command to execute after retention
      --help           Display this help

Watch current directory and execute npm install on file system changes:

cmd-watch --command 'npm install'
1.0.10

10 years ago

1.0.9

10 years ago

1.0.8

10 years ago

1.0.7

10 years ago

1.0.6

10 years ago

1.0.5

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago