0.1.2 • Published 8 years ago

abigail-plugin-launch v0.1.2

Weekly downloads
62
License
MIT
Repository
github
Last release
8 years ago

Abigail Launch Plugin

No installation

abigail built-in plugin

Usage

this plugin is simulator body. when receiving the launch event of abigail, evaluates its first arguments.

currently, the option are undefined. please don't disable this plugin, exit and watch doesn't work correctly.

in your plugin, if the task is to be executed at any time, you can run the task after getting the instance using this.getPlugin.

class YourPlugin extends Plugin {
  pluginWillAttach() {
    const launchPlugin = this.getPlugin('launch');
    launchPlugin.abort();
    launchPlugin.launch(this.parent.task);
  }
}

see also: abigail-plugin-watch/src/index.js:83

use abigail.plugins.launch field in package.json

{
  // ...
  "abigail": {
    "plugins": {
      // change to strict launch
      "launch": "bail"
    }
  }
}

See also

Development

Requirement global

  • NodeJS v5.7.0
  • Npm v3.7.1
git clone https://github.com/abigailjs/abigail-plugin-launch
cd abigail-plugin-launch
npm install

npm test

License

MIT

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago