diff --git a/lib/template.js b/lib/template.js index de03115..2ced0c0 100644 --- a/lib/template.js +++ b/lib/template.js @@ -143,7 +143,7 @@ module.exports = (function () { if (self.isRemote) { self.emitter.emit('cmd', 'git clone ' + self.src + ' ' + self.path); - return exec('git clone ' + self.src + ' ' + self.path); + return exec('git clone --recursive ' + self.src + ' ' + self.path); } return fs.symlinkAsync(self.src, self.path);