Skip to content

Commit

Permalink
test: fix timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Dec 27, 2024
1 parent f89451d commit b32431d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,10 @@ export async function build({
type: PluginHookType.Parallel,
pluginContext: context.pluginContext,
});

// [email protected] doesn't support exit immediately after build
// so we exit manually
if (!watch) {
process.exit(0);
}
}

0 comments on commit b32431d

Please sign in to comment.