From e83bd492f548bad50493f6b6c22effde47bca1bf Mon Sep 17 00:00:00 2001 From: Nolan Lawson Date: Sun, 24 Feb 2019 10:48:49 -0800 Subject: [PATCH] fix: when building, use a port unlikely to be in use (#1047) Right now if you run `yarn build` while port 4002 is in use, it will fail. Let's just pick a random port that's unlikely to be used by any self-hosters. I chose a random 5-digit number. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 854412dd..23226f76 100644 --- a/package.json +++ b/package.json @@ -35,7 +35,7 @@ "deploy-dev": "DEPLOY_TYPE=dev ./bin/deploy.sh", "deploy-all-travis": "./bin/deploy-all-travis.sh", "backup-mastodon-data": "./bin/backup-mastodon-data.sh", - "sapper-export": "cross-env PORT=4002 sapper export", + "sapper-export": "cross-env PORT=22939 sapper export", "print-export-info": "node ./bin/print-export-info.js", "export-steps": "run-s before-build sapper-export print-export-info", "export": "cross-env NODE_ENV=production run-s export-steps",