@rafapaezbas/watch-and-run

0.2.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @rafapaezbas/watch-and-run

Weekly Downloads

3

Version

0.2.0

License

ISC

Unpacked Size

3.6 kB

Total Files

5

Last publish

Collaborators

  • rafapaezbas