npm install abigail-plugin-launchAbigail 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.
``js`
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
field in package.json`js`
{
// ...
"abigail": {
"plugins": {
// change to strict launch
"launch": "bail"
}
}
}
See also
---
* abigailjs/abigail
* abigailjs/abigail-plugin
Development
---
Requirement global
* NodeJS v5.7.0
* Npm v3.7.1
`bash
git clone https://github.com/abigailjs/abigail-plugin-launch
cd abigail-plugin-launch
npm install
npm test
``
License
---
MIT