mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
Updated default port used in dev mode
refs https://developer.apple.com/forums/thread/682332 Mac OS Monterey by default listens on ports 5000 and 7000 for new AirPlay functionality. Since portal dev mode also runs on port 5000 and gets blocked due to this, the default port is now updated to use 5368 instead. Note: Its still possible to choose a different port while starting portal in dev mode by running `yarn start:dev --port=xxxx`
This commit is contained in:
parent
23700703aa
commit
f56269933e
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ let spinner;
|
||||||
let stdOutChunks = [];
|
let stdOutChunks = [];
|
||||||
let stdErrChunks = [];
|
let stdErrChunks = [];
|
||||||
|
|
||||||
const {v, verbose, port = 5000, basic, b} = minimist(process.argv.slice(2));
|
const {v, verbose, port = 5368, basic, b} = minimist(process.argv.slice(2));
|
||||||
const showVerbose = !!(v || verbose);
|
const showVerbose = !!(v || verbose);
|
||||||
const showBasic = !!(b || basic);
|
const showBasic = !!(b || basic);
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ let stdOutChunks = [];
|
||||||
let stdErrChunks = [];
|
let stdErrChunks = [];
|
||||||
let startYarnOutput = false;
|
let startYarnOutput = false;
|
||||||
|
|
||||||
const {v, verbose, port = 5000} = minimist(process.argv.slice(2));
|
const {v, verbose, port = 5368} = minimist(process.argv.slice(2));
|
||||||
const showVerbose = !!(v || verbose);
|
const showVerbose = !!(v || verbose);
|
||||||
|
|
||||||
function clearConsole({withHistory = true} = {}) {
|
function clearConsole({withHistory = true} = {}) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue