From 9734b2a7b496290f761ac9ca4a92675e64dc458c Mon Sep 17 00:00:00 2001 From: Brian Chrzanowski Date: Sun, 6 Aug 2023 10:13:18 -0400 Subject: [PATCH] fixes an issue where vite would constantly be disconnected fix source: https://github.com/nodejs/node/issues/47644#issuecomment-1554440759 --- client/tasks.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/tasks.toml b/client/tasks.toml index cf91e62b..eb7e5a43 100644 --- a/client/tasks.toml +++ b/client/tasks.toml @@ -1,9 +1,11 @@ [[task]] id = "run" type = "long" + env = { "NODE_OPTIONS" = "--no-network-family-autoselection" } cmd = "npm run start" [[task]] id = "prod" type = "long" + env = { "NODE_OPTIONS" = "--no-network-family-autoselection" } cmd = "VITE_USE_PROD=true npm run no-auth"