bugfix: create app not creating dirs
This commit is contained in:
parent
b903a72987
commit
2a8ca59b6d
|
@ -54,7 +54,7 @@ exports.create = async function(ctx) {
|
|||
}
|
||||
await instanceController.create(createInstCtx)
|
||||
|
||||
if (env.NODE_ENV === "production") {
|
||||
if (ctx.isDev) {
|
||||
const newAppFolder = await createEmptyAppPackage(ctx, newApplication)
|
||||
await runNpmInstall(newAppFolder)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue