feat: open browser during serve with "--open"
This commit is contained in:
1 parent
9ce5fc508d
commit
f6cd48c612
5 files changed
+71
-12
No files matched your search
@@ -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(())
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user