refactor(core): Drop hot reload support

This was unused and a hotbed of potential issues
This commit is contained in:
Jade Ellis committed 2026-11-21 18:04:50 +00:00
1 parent 7e678869ec
commit 5ad36c0914
27 files changed
+11 -871

No files matched your search

-8
View File
@@ -110,14 +110,6 @@ impl crate::Context<'_> {
self.write_str("Notice was sent to #admins").await
}
pub(super) async fn reload_mods(&self) -> Result {
self.bail_restricted()?;
self.services.server.reload()?;
self.write_str("Reloading server...").await
}
#[cfg(unix)]
pub(super) async fn restart(&self, force: bool) -> Result {
use conduwuit::utils::sys::current_exe_deleted;
-4
View File
@@ -39,10 +39,6 @@ pub enum ServerCommand {
message: Vec<String>,
},
/// Hot-reload the server
#[command(name = "reload", alias = "reload-mods")]
ReloadMods,
#[cfg(unix)]
/// Restart the server
Restart {