apeman-task-wtch
apeman task to run apeman wtch command.
Last updated 4 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install apeman-task-wtch 
SYNC missed versions from official npm registry.

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
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.

Links

Current Tags

  • 3.0.2                                ...           latest (4 years ago)

8 Versions

  • 3.0.2                                ...           4 years ago
  • 3.0.1                                ...           4 years ago
  • 3.0.0                                ...           4 years ago
  • 2.0.4                                ...           4 years ago
  • 2.0.3                                ...           4 years ago
  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
  • co ^4.6.0
Dev Dependencies (11)

Copyright 2014 - 2017 © taobao.org |