From 60a873a49c04081b50f82ce01535827c02a86677 Mon Sep 17 00:00:00 2001 From: Jonathan Kelley Date: Wed, 5 Jul 2023 15:20:54 -0700 Subject: [PATCH] leave hotreload --- Cargo.toml | 1 - packages/desktop/Cargo.toml | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fcf4b9921..b1e2de8d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -34,7 +34,6 @@ members = [ # Full project examples "examples/tailwind", "examples/PWA-example", - # "examples/ios_demo", # Playwrite tests "playwrite-tests/liveview", "playwrite-tests/web", diff --git a/packages/desktop/Cargo.toml b/packages/desktop/Cargo.toml index f83864afc..ceb54e8f7 100644 --- a/packages/desktop/Cargo.toml +++ b/packages/desktop/Cargo.toml @@ -15,7 +15,7 @@ keywords = ["dom", "ui", "gui", "react"] dioxus-core = { workspace = true, features = ["serialize"] } dioxus-html = { workspace = true, features = ["serialize", "native-bind"] } dioxus-interpreter-js = { workspace = true } -# dioxus-hot-reload = { workspace = true, optional = true } +dioxus-hot-reload = { workspace = true, optional = true } serde = "1.0.136" serde_json = "1.0.79" @@ -51,12 +51,12 @@ objc_id = "0.1.1" core-foundation = "0.9.3" [features] -default = ["tokio_runtime"] +default = ["tokio_runtime", "hot-reload"] tokio_runtime = ["tokio"] fullscreen = ["wry/fullscreen"] transparent = ["wry/transparent"] tray = ["wry/tray"] -# hot-reload = ["dioxus-hot-reload"] +hot-reload = ["dioxus-hot-reload"] [dev-dependencies] dioxus-core-macro = { workspace = true }