Closed jamesjensen88 closed 8 years ago
Don't know if this is still relevant – sorry – but you can use Gobble programmatically like so:
var node = require( './gobblefile.js' );
var task = node.build({
dest: 'build'
});
task.then( function () {
console.log( 'finished!' );
});
I need to trigger gobble build from a Node script, and saw [this].(https://github.com/gobblejs/gobble/wiki/API-reference#task--nodebuild-options-)
Could anyone provide a code example?