feat:Add log output for create
This commit is contained in:
parent
1d12e8985f
commit
a62869a99c
@ -101,7 +101,12 @@ export default async function create(name: string) {
|
||||
await initiOS(cwd, name)
|
||||
}
|
||||
console.log("Install node modules ...".green)
|
||||
await Shell.exec('npm', ['install'], { cwd });
|
||||
await Shell.exec('npm', ['run', 'build'], { cwd });
|
||||
await Shell.exec('npm', ['install'], {
|
||||
cwd,
|
||||
env: process.env,
|
||||
consoleHandler: (info) => {
|
||||
console.log(info)
|
||||
}
|
||||
});
|
||||
console.log("Installed, welcome!".green)
|
||||
}
|
Reference in New Issue
Block a user