Enable hot reloading by default

This is disabled when using Bevy CLI,
unless building as a native dev app.
Allows debugging with hot reloading enabled.
main
copygirl 4 days ago
parent ddf01160c3
commit 7e0dfd8fdd
  1. 4
      client/Cargo.toml

@ -19,5 +19,9 @@ bevy_fix_cursor_unlock_web = "0.2.0"
clap = { version = "4.5.50", features = [ "derive" ] }
web-sys = { version = "0.3.81", features = [ "Location", "UrlSearchParams", "Window" ] }
[features]
default = [ "common/hot_reloading" ]
[package.metadata.bevy_cli]
default-features = false
native.dev.features = [ "common/hot_reloading" ]

Loading…
Cancel
Save