lithium-sdk
Version:
### Lithium Developer Community Area
16 lines (14 loc) • 325 B
JavaScript
;
var spawn = require('child_process').spawn;
var path = require('path');
module.exports = function (args) {
spawn(
'node',
[path.join(__dirname, '../node_modules/gulp/bin/gulp.js')].concat(args),
{
stdio: 'inherit'
}
).on('exit', function(code) {
process.exitCode = code;
});
};