From 4f8ecb40896a3336d8b07dbe88e3adcba5d9235f Mon Sep 17 00:00:00 2001 From: Phillip Rak Date: Tue, 8 Aug 2023 14:31:54 -0700 Subject: [PATCH] Use `--host` argument instead of `--hostname` Signed-off-by: Phillip Rak --- scripts/dev.ts | 3 +-- scripts/e2e.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/dev.ts b/scripts/dev.ts index 61be27d297b..1d633b09320 100644 --- a/scripts/dev.ts +++ b/scripts/dev.ts @@ -111,7 +111,7 @@ class DevRunner extends events.EventEmitter { 'yarn', 'run', 'dev:ui', - '--hostname', + '--host', 'localhost', '--port', this.rendererPort.toString(), @@ -128,7 +128,6 @@ class DevRunner extends events.EventEmitter { // Wait for the renderer to finish, so that vue-cli output doesn't // clobber debugging output. - // Wait for the renderer to finish, so that vue-cli output doesn't clobber debugging output. const rendererEnv = this.rendererEnv(); const maxRetries = 10; diff --git a/scripts/e2e.ts b/scripts/e2e.ts index baf12a9839a..d07a9ec37df 100644 --- a/scripts/e2e.ts +++ b/scripts/e2e.ts @@ -95,7 +95,7 @@ class E2ETestRunner extends events.EventEmitter { 'yarn', 'run', 'build:ui', - '--hostname', + '--host', 'localhost', '--port', this.rendererPort.toString(),