diff --git a/lib/cmds/template_generator.js b/lib/cmds/template_generator.js index 8597fcc0..aa672037 100644 --- a/lib/cmds/template_generator.js +++ b/lib/cmds/template_generator.js @@ -14,6 +14,9 @@ class TemplateGenerator { fs.copySync(templatePath, fspath); utils.cd(fspath); utils.sed('package.json', '%APP_NAME%', name); + if (fs.existsSync('dot.gitignore')) { + fs.moveSync('dot.gitignore', '.gitignore'); + } if (name === 'embark_demo') { console.log(__('Installing packages...').green);