# start-watch-debounce

> Start watch task with debounce

Latest version **0.1.0** (published 2017-02-27) · 0 weekly downloads

## Install

```sh
npm install start-watch-debounce
pnpm add start-watch-debounce
yarn add start-watch-debounce
bun add start-watch-debounce
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2017-02-27 |
| First published | 2017-01-18 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | laggingreflex |
| Keywords | start, start-task, watch, debounce |

## Links

- npm: https://www.npmjs.com/package/start-watch-debounce
- Repository: https://github.com/laggingreflex/start-watch-debounce
- Homepage: https://github.com/laggingreflex/start-watch-debounce#readme
- Issues: https://github.com/laggingreflex/start-watch-debounce/issues
- npm.io page: https://npm.io/package/start-watch-debounce

## Dependencies (2)

- [start-watch](https://npm.io/package/start-watch.md) ^3.0.0
- [debounce-queue](https://npm.io/package/debounce-queue.md) ^0.2.0

## Alternatives

- [lodash.startswith](https://npm.io/package/lodash.startswith.md) — 769.7K weekly downloads
- [@tarojs/service](https://npm.io/package/@tarojs/service.md) — 33.9K weekly downloads
- [io.extendreality.tilia.indicators.spatialtargets.unity](https://npm.io/package/io.extendreality.tilia.indicators.spatialtargets.unity.md) — 131 weekly downloads
- [@rtarojs/taro](https://npm.io/package/@rtarojs/taro.md) — 90 weekly downloads
- [node-branch-io](https://npm.io/package/node-branch-io.md) — 50 weekly downloads

## Recent versions

- 0.1.0 (latest) — 2017-02-27
- 0.0.0-beta.8 — 2017-01-30
- 0.0.0-beta.7 — 2017-01-28
- 0.0.0-beta.6 — 2017-01-28
- 0.0.0-beta.5 — 2017-01-28
- 0.0.0-beta.3 — 2017-01-28
- 0.0.0-beta.2 — 2017-01-18
- 0.0.0-beta.1 — 2017-01-18

## README

# start-watch-debounce

[![npm](https://img.shields.io/npm/v/start-watch-debounce.svg?style=flat-square)](https://www.npmjs.com/package/start-watch-debounce)

Debounce wrapper for [start-watch] task using [debounce-queue].

## Install

```sh
npm install --save-dev start-watch-debounce
# or
yarn add --dev start-watch-debounce
```

## Usage

```js
import Start from 'start';
import watch from 'start-watch-debounce';
import files from 'start-files';
import read from 'start-read';
import babel from 'start-babel';
import write from 'start-write';

const start = Start(reporter());

export const dev = () => start(
  watch('lib/**/*.js')(changedFiles => start(
    files(changedFiles),
    read(),
    babel(),
    write('build/')
  ))
);
```

`changedFiles` is an array of *all* changed files since last invocation.

## Arguments

Same as [start-watch] and [debounce-queue].

[start-watch]: https://github.com/start-runner/watch
[debounce-queue]: https://github.com/laggingreflex/debounce-queue

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