From 3d06ba9083775b544b47d5dabcbff45deb22a11e Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Fri, 20 Mar 2026 16:08:14 +0100 Subject: [PATCH] Update startup resources in run-electron-dev script --- scripts/run-electron-dev.cjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/run-electron-dev.cjs b/scripts/run-electron-dev.cjs index db4229c..c049a0e 100644 --- a/scripts/run-electron-dev.cjs +++ b/scripts/run-electron-dev.cjs @@ -6,7 +6,7 @@ const projectRoot = path.resolve(__dirname, '..') const electronBinary = require('electron') const relaunchExitCode = 75 const devServerUrl = process.env.VITE_DEV_SERVER_URL || 'http://127.0.0.1:5173' -const startupResources = ['tcp:127.0.0.1:5173', 'tcp:127.0.0.1:8000'] +const startupResources = ['http-get://127.0.0.1:5173', 'http-get://127.0.0.1:8000/health'] const env = { ...process.env, VITE_DEV_SERVER_URL: devServerUrl, @@ -17,6 +17,7 @@ const env = { async function waitForDependencies() { await waitOn({ resources: startupResources, + proxy: false, timeout: 120000, }) }