Browse Source

Start server on 0.0.0.0.

Make Nx bind the server to all interfaces by default to allow for easy
remote debugging.
pull/2407/head
Prashanth Mohan 2 years ago
parent
commit
054a3b8005
  1. 2
      package.json

2
package.json

@ -40,7 +40,7 @@
"postinstall": "prisma generate", "postinstall": "prisma generate",
"replace-placeholders-in-build": "node ./replace.build.js", "replace-placeholders-in-build": "node ./replace.build.js",
"start": "node dist/apps/api/main", "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:production": "yarn database:migrate && yarn database:seed && node main",
"start:server": "nx run api:serve --watch", "start:server": "nx run api:serve --watch",
"start:storybook": "nx run ui:storybook", "start:storybook": "nx run ui:storybook",

Loading…
Cancel
Save