Skip to content

Commit

Permalink
Merge pull request #65 from fastify/exit-zero-after-success
Browse files Browse the repository at this point in the history
feat(build): exit 0 after build success
  • Loading branch information
galvez committed Feb 13, 2022
2 parents 71070bf + 68545d4 commit 0f35daf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fastify-vite/index.js
Expand Up @@ -69,7 +69,7 @@ async function fastifyVite (fastify, options) {

if (options.build) {
await build(options)
setImmediate(() => process.exit())
setImmediate(() => process.exit(0))
} else if (!options.eject) {
// Setup appropriate Vite route handler
if (options.dev) {
Expand Down

0 comments on commit 0f35daf

Please sign in to comment.