apeman-task-wtch
apeman task to run apeman wtch command.
Installation
$ npm install apeman-task-wtch --save-dev
Usage
- Define a task within Apemanfile.js
- Call the task via apeman task command.
Apemanfile.js
/** This is an example Apemanfile to use apeman-task-wtch */ 'use strict' moduleexports = $pkg: /* ... */ $tasks: // Define your own task. 'wtch:myapp': configuration: 'sub_apps/my_app_01/Apemanfile.json' $wtchs: 'my-watch-01': pattern: '*.js' { /* ... */ }
Then,
$ apeman task wtch:myapp
Signature
apemanTaskWtch(options) -> function
apeman task to run apeman wch command.
Args
Name | Type | Default | Description |
---|---|---|---|
options | object | Optional settings. | |
options.configuration | string | Apeman configuration path. | |
options.list | boolean | List available watches. | |
options.pattern | string | Wtch name pattern. |
License
This software is released under the MIT License.