Unverified Commit b33179cc authored by Justin Ridgewell's avatar Justin Ridgewell Committed by GitHub

Cleanup "started server on" message (#48972)

We bind to an IPv6 unspecified address (`::`), which makes the old message say "started server on :::3000", and that's kinda ugly. The new message will say "[::]:3000".
parent e66c6250
...@@ -491,10 +491,9 @@ pub async fn start_server(options: &DevServerOptions) -> Result<()> { ...@@ -491,10 +491,9 @@ pub async fn start_server(options: &DevServerOptions) -> Result<()> {
{ {
let index_uri = ServerAddr::new(server.addr).to_string()?; let index_uri = ServerAddr::new(server.addr).to_string()?;
println!( println!(
"{} - started server on {}:{}, url: {}", "{} - started server on {}, url: {}",
"ready".green(), "ready".green(),
server.addr.ip(), server.addr,
server.addr.port(),
index_uri index_uri
); );
if !options.no_open { if !options.no_open {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment