From 054a3b8005df17caac5707b9953d1d7a58b9b854 Mon Sep 17 00:00:00 2001 From: Prashanth Mohan Date: Sun, 1 Oct 2023 16:06:28 +1100 Subject: [PATCH] Start server on 0.0.0.0. Make Nx bind the server to all interfaces by default to allow for easy remote debugging. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8c119b880..01bedb555 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "postinstall": "prisma generate", "replace-placeholders-in-build": "node ./replace.build.js", "start": "node dist/apps/api/main", - "start:client": "nx run client:copy-assets && nx run client:serve --configuration=development-en --hmr -o", + "start:client": "nx run client:copy-assets && nx run client:serve --configuration=development-en --hmr -o --host=0.0.0.0", "start:production": "yarn database:migrate && yarn database:seed && node main", "start:server": "nx run api:serve --watch", "start:storybook": "nx run ui:storybook",