onchange
- Version 7.1.0
- Published
- 41.7 kB
- 7 dependencies
- MIT license
Install
npm i onchangeyarn add onchangepnpm add onchangeOverview
Use glob patterns to watch file sets and run a command when anything is added, changed or deleted.
Index
Functions
function onchange
onchange: (options: Options) => () => void;Onchange manages
Interfaces
interface Options
interface Options {}Onchange configuration options.
property add
add?: boolean;property awaitWriteFinish
awaitWriteFinish?: number;property command
command?: string[];property cwd
cwd?: string;property defaultExclude
defaultExclude?: boolean;property delay
delay?: number;property env
env?: NodeJS.ProcessEnv;property exclude
exclude?: (string | ((path: string) => boolean))[];property filter
filter?: string[];property initial
initial?: boolean;property jobs
jobs?: number;property kill
kill?: boolean;property killSignal
killSignal?: NodeJS.Signals;property matches
matches: string[];property onReady
onReady?: () => void;property outpipe
outpipe?: string;property poll
poll?: number;property stderr
stderr?: Writable;property stdin
stdin?: Readable;property stdout
stdout?: Writable;property verbose
verbose?: boolean;Package Files (1)
Dependencies (7)
Dev Dependencies (7)
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/onchange.
- Markdown[](https://www.jsdocs.io/package/onchange)
- HTML<a href="https://www.jsdocs.io/package/onchange"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2422 ms. - Missing or incorrect documentation? Open an issue for this package.
