pon-task-watch
Pon task to watch files
Installation
$ npm install pon-task-watch --save
Usage
'use strict' const pon = const watch = { let run = }
Signatures
define(filenames, handler, options) -> function
Define task
Param | type | Description |
---|---|---|
filenames | string|string[] | Filenames or glob pattern to watch |
handler | function | Change handler function |
options | Object | Optional settings |
options.delay | number | Delay to trigger watch |
options.events | string | Target events |
License
This software is released under the Apache-2.0 License.