Unverified Commit b8a7cd8c authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Exit process after build (#7614)

parent c39c5d26
...@@ -55,7 +55,9 @@ const nextBuild: cliCommand = argv => { ...@@ -55,7 +55,9 @@ const nextBuild: cliCommand = argv => {
) )
} }
build(dir).catch(err => { build(dir)
.then(() => process.exit(0))
.catch(err => {
// tslint:disable-next-line // tslint:disable-next-line
console.error('> Build error occurred') console.error('> Build error occurred')
printAndExit(err) printAndExit(err)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment