launch cli listeners on all interfaces
This commit is contained in:
@@ -233,7 +233,7 @@ export class CliProcessManager extends EventEmitter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private buildCliArgs(options: StartOptions): string[] {
|
private buildCliArgs(options: StartOptions): string[] {
|
||||||
const args = ["serve", "--host", "127.0.0.1", "--port", "0"]
|
const args = ["serve", "--host", "0.0.0.0", "--port", "0"]
|
||||||
|
|
||||||
if (options.dev) {
|
if (options.dev) {
|
||||||
args.push("--ui-dev-server", "http://localhost:3000", "--log-level", "debug")
|
args.push("--ui-dev-server", "http://localhost:3000", "--log-level", "debug")
|
||||||
|
|||||||
@@ -484,7 +484,7 @@ impl CliEntry {
|
|||||||
let mut args = vec![
|
let mut args = vec![
|
||||||
"serve".to_string(),
|
"serve".to_string(),
|
||||||
"--host".to_string(),
|
"--host".to_string(),
|
||||||
"127.0.0.1".to_string(),
|
"0.0.0.0".to_string(),
|
||||||
"--port".to_string(),
|
"--port".to_string(),
|
||||||
"0".to_string(),
|
"0".to_string(),
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user