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.
This commit is contained in:
Nolan Lawson 2019-02-24 10:48:49 -08:00 committed by GitHub
parent 6708b06a59
commit e83bd492f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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",