3.0.2 • Published 9 years ago

apeman-task-wtch v3.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

apeman-task-wtch

Build Status Code Climate Code Coverage npm Version JS Standard

apeman task to run apeman wtch command.

Installation

$ npm install apeman-task-wtch --save-dev

Usage

  1. Define a task within Apemanfile.js
  2. Call the task via apeman task command.

Apemanfile.js

/** This is an example Apemanfile to use apeman-task-wtch */

'use strict'

module.exports = {
  $pkg: { /* ... */ },
  $tasks: {
    // Define your own task.
    'wtch:myapp': require('apeman-task-watch')({
      configuration: 'sub_apps/my_app_01/Apemanfile.json'
    })
  },
  $wtchs: {
    'my-watch-01': {
      pattern: '*.js',
      action: function () {
        /* ... */
      }
    }
  }
}

Then,

$ apeman task wtch:myapp

Signature

apemanTaskWtch(options) -> function

apeman task to run apeman wch command.

Args
NameTypeDefaultDescription
optionsobjectOptional settings.
options.configurationstringApeman configuration path.
options.listbooleanList available watches.
options.patternstringWtch name pattern.

License

This software is released under the MIT License.

Links

3.0.2

9 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.0.4

10 years ago

2.0.3

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago