# @rafapaezbas/watch-and-run

> watcher utility to run command on file/s update

Latest version **0.2.0** (published 2022-08-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install @rafapaezbas/watch-and-run
pnpm add @rafapaezbas/watch-and-run
yarn add @rafapaezbas/watch-and-run
bun add @rafapaezbas/watch-and-run
```

Provides the command `watch-and-run`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.0 |
| Published | 2022-08-24 |
| First published | 2022-08-21 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | rafapaezbas |

## Links

- npm: https://www.npmjs.com/package/@rafapaezbas/watch-and-run
- Repository: https://github.com/rafapaezbas/watch-and-run
- Homepage: https://github.com/rafapaezbas/watch-and-run#readme
- Issues: https://github.com/rafapaezbas/watch-and-run/issues
- npm.io page: https://npm.io/package/@rafapaezbas/watch-and-run

## Recent versions

- 0.2.0 (latest) — 2022-08-24
- 0.1.1 — 2022-08-21
- 0.1.0 — 2022-08-21

## README

# Watch-and-Run

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

### Installation

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

### Usage

``` bash
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

``` bash
npm test
```

---
_Source: https://npm.io/package/@rafapaezbas/watch-and-run · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
