From aa98621c1fe69f943cf7240be071a861ba656898 Mon Sep 17 00:00:00 2001 From: Jamie King Date: Tue, 24 Oct 2023 10:21:31 -0700 Subject: [PATCH] fix(scripts): start watch failed to fetch modules (#1159) --- scripts/watch-server.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/watch-server.js b/scripts/watch-server.js index 71b947b26..6bfcf8097 100644 --- a/scripts/watch-server.js +++ b/scripts/watch-server.js @@ -52,6 +52,7 @@ const buildServiceWorkerScripts = require('./build-service-workers'); ].find((argName) => arg.startsWith(argName))); const nodemon = spawn('nodemon', [ + '--dns-result-order=ipv4first', '--no-experimental-fetch', '--signal', 'SIGTERM', '--watch', 'src', '--ext', 'js,jsx', 'lib/server/index.js', ].concat(flags.length > 0 ? ['--', ...flags] : []), { stdio: 'inherit',