From 7e0dfd8fddb1cc3a71fb8de44264849ba014c6ba Mon Sep 17 00:00:00 2001 From: copygirl Date: Mon, 22 Dec 2025 00:12:22 +0100 Subject: [PATCH] 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. --- client/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/client/Cargo.toml b/client/Cargo.toml index 7ad5a7a..5963019 100644 --- a/client/Cargo.toml +++ b/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] -native.dev.features = ["common/hot_reloading"] +default-features = false +native.dev.features = [ "common/hot_reloading" ]