fat-watchy

0.0.1 • Public • Published

Watchy

A companion executable for Chokidar that lets you run a command when a file in the given path(s) changes.

Install

npm install -g watchy

Use

Usage: watchy [-w paths,to,watch] -- command arg1 arg2...

Options:
  --watch, -w       A path or comma-separated paths to watch.
  --ignore, -i      A regex of file paths to ignore.                                 [default: "/\\."]
  --keep-alive, -k  Restart the process if it exits. Useful for servers.             [default: false]
  --wait, -W        Time (sec) to wait after sending SIGTERM to forcefully SIGKILL.  [default: 0]
watchy -w lib -- say "The lib directory changed."

Readme

Keywords

none

Package Sidebar

Install

npm i fat-watchy

Weekly Downloads

0

Version

0.0.1

License

none

Last publish

Collaborators

  • fat