Heads up the .watch
method was removed in version 0.11.0
. If you need watch functionality, use [base-tasks][] and base-watch.
const Composer = require('{%= name %}');
const composer = new Composer();
composer.task('default', cb => {
console.log('Task: ', this.name);
cb();
});
composer.build('default')
.then(() => console.log('done!'))
.catch(console.error);
{%= apidocs("index.js") %}
{%= include("docs/execution.md") %}
{%= include("docs/events.md") %}
{%= include("changelog.md") %}