Variable: VITE_DEV_SERVER_CONFIG
const VITE_DEV_SERVER_CONFIG: {
BASE_DELAY: 500;
FETCH_TIMEOUT: 5000;
MAX_DELAY: 10000;
MAX_ATTEMPTS: 20;
SERVER_URL: "http://localhost:5173";
};
Defined in: electron/services/window/ViteDevServerWaiter.ts:13
Internal
Vite development-server readiness configuration.
Type Declaration
BASE_DELAY
readonly BASE_DELAY: 500 = 500;
Base delay for exponential backoff in milliseconds.
FETCH_TIMEOUT
readonly FETCH_TIMEOUT: 5000 = 5000;
Fetch timeout for each connection attempt in milliseconds.
MAX_DELAY
readonly MAX_DELAY: 10000 = 10_000;
Maximum delay between retries in milliseconds.
MAX_ATTEMPTS
readonly MAX_ATTEMPTS: 20 = 20;
Maximum number of connection attempts.
SERVER_URL
readonly SERVER_URL: "http://localhost:5173" = "http://localhost:5173";
URL for the Vite development server.