Skip to content

Commit

Permalink
Exit 1 on error
Browse files Browse the repository at this point in the history
  • Loading branch information
bcomnes committed Oct 30, 2023
1 parent af72f71 commit 28ee259
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ async function run () {
console.error(inspect(err, { depth: 999, colors: true }))

console.log('\nBuild Failed!\n\n')
process.exit(1)
}
} else {
const initialResults = await siteup.watch()
Expand Down

0 comments on commit 28ee259

Please sign in to comment.