1.0.10 • Published 9 years ago

cmd-watch v1.0.10

Weekly downloads
3
License
MIT
Repository
github
Last release
9 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

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago