0.2.0 • Published 2 years ago

@rafapaezbas/watch-and-run v0.2.0

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

Watch-and-Run

Javascript utility to watch a file and run command on update.

Installation

npm install -g @rafapaezbas/watch-and-run

Usage

npm install -g watch-and-run
watch-and-run help
: '
Watch-and-run v.0.1.0

  Run shell command on file update.

  Usage:
  watch-and-run $file,$another-file $command [-o]

  Options:
  -o: Print command output
'
watch-and-run index.html,index.js 'echo "updated"' -o

Test

npm test