@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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.01latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.01
0.1.10
0.1.00

Package Sidebar

Install

npm i @rafapaezbas/watch-and-run

Weekly Downloads

0

Version

0.2.0

License

ISC

Unpacked Size

3.6 kB

Total Files

5

Last publish

Collaborators

  • rafapaezbas