Increase timeout for CLI startup

This commit is contained in:
Shantur Rathore
2025-12-03 16:37:48 +00:00
parent d7b5f53d59
commit b35bfe63c0
3 changed files with 9 additions and 2 deletions

View File

@@ -53,12 +53,19 @@ export default defineConfig({
port: 3000,
},
build: {
minify: false,
cssMinify: false,
sourcemap: true,
outDir: resolve(__dirname, "dist/renderer"),
rollupOptions: {
input: {
main: uiRendererEntry,
loading: uiRendererLoadingEntry,
},
output: {
compact: false,
minifyInternalExports: false,
},
},
},
},

View File

@@ -116,7 +116,7 @@ export class CliProcessManager extends EventEmitter {
const timeout = setTimeout(() => {
this.handleTimeout()
reject(new Error("CLI startup timeout"))
}, 15000)
}, 60000)
this.once("ready", (status) => {
clearTimeout(timeout)