feat: open browser during serve with "--open"

This commit is contained in:
Antonio Curavalea committed 2023-04-30 23:13:46 +03:00
1 parent 9ce5fc508d
commit f6cd48c612
5 files changed
+71 -12

No files matched your search

+1 -1
View File
@@ -68,7 +68,7 @@ impl Serve {
Serve::regen_dev_page(&crate_config)?;
// start the develop server
server::startup(self.serve.port, crate_config.clone()).await?;
server::startup(self.serve.port, crate_config.clone(), self.serve.open).await?;
Ok(())
}