Browse Source

leave hotreload

Jonathan Kelley 2 years ago
parent
commit
60a873a49c
2 changed files with 3 additions and 4 deletions
  1. 0 1
      Cargo.toml
  2. 3 3
      packages/desktop/Cargo.toml

+ 0 - 1
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",

+ 3 - 3
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 }