Bump the dioxus-cli to 0.4.1 (#1424)

* bump the dioxus-cli version

* bump DIOXUS_CLI_VERSION constant

* Merge branch 'master' into bump-cli
This commit is contained in:
ealmloff authored and GitHub committed 2023-09-04 15:10:27 -05:00
1 parent e799c2efa2
commit d5d974d5a3
5 files changed
+9 -8

No files matched your search

+3 -3
View File
@@ -73,7 +73,7 @@ pub async fn serve_default(
config: CrateConfig,
start_browser: bool,
) -> Result<()> {
let first_build_result = crate::builder::build(&config)?;
let first_build_result = crate::builder::build(&config, true)?;
log::info!("🚀 Starting development server...");
@@ -134,7 +134,7 @@ pub async fn serve_hot_reload(
config: CrateConfig,
start_browser: bool,
) -> Result<()> {
let first_build_result = crate::builder::build(&config)?;
let first_build_result = crate::builder::build(&config, true)?;
log::info!("🚀 Starting development server...");
@@ -474,7 +474,7 @@ async fn ws_handler(
}
fn build(config: &CrateConfig, reload_tx: &Sender<()>) -> Result<BuildResult> {
let result = builder::build(config)?;
let result = builder::build(config, true)?;
// change the websocket reload state to true;
// the page will auto-reload.
if config