From b32431db3033286a58c6375be964900aef6af8c3 Mon Sep 17 00:00:00 2001 From: sorrycc Date: Fri, 27 Dec 2024 17:42:46 +0800 Subject: [PATCH] test: fix timeout --- src/build.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/build.ts b/src/build.ts index e38c046..e68d827 100644 --- a/src/build.ts +++ b/src/build.ts @@ -122,4 +122,10 @@ export async function build({ type: PluginHookType.Parallel, pluginContext: context.pluginContext, }); + + // mako@0.11 doesn't support exit immediately after build + // so we exit manually + if (!watch) { + process.exit(0); + } }