diff --git a/src/main.rs b/src/main.rs
index 9d49947fb5cf330fd8c2d047bd4c252af4798fa6..91eee31b32855ba3c71ade92556fada891f5bf98 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -81,7 +81,7 @@ use pi_serv_lib::{
     js_gray::{GRAY_MGR, VID_CONTEXTS},
 };
 use pi_serv_lib::{
-    set_pi_serv_lib_file_runtime, set_pi_serv_lib_main_async_runtime, set_store_runtime,
+    set_pi_serv_lib_file_runtime, set_pi_serv_lib_main_async_runtime, set_store_runtime, set_hotfix_files,
 };
 #[cfg(feature = "profiling_heap")]
 use profiling_pi_core::{
@@ -515,6 +515,7 @@ async fn async_main(
     set_file_async_runtime(FILES_ASYNC_RUNTIME.clone());
     set_pi_serv_lib_file_runtime(FILES_ASYNC_RUNTIME.clone());
     set_pi_serv_lib_main_async_runtime(MAIN_ASYNC_RUNTIME.clone());
+    set_hotfix_files(HOTFIX_FILES.clone());
     // 注册pi_serv方法
     reg_pi_serv_handle();
     // 注册pi_serv_builtin运行时
@@ -744,26 +745,26 @@ fn reigster_vms_events(workers: &[vm::Vm<VmTaskPool>], is_debug_mode: bool) {
                     );
 
                     // 非调试模式下才需要重新require热更过的文件
-                    if !is_debug_mode {
-                        // 获取已经热更新过的文件
-                        let mut hotfixed_files = HOTFIX_FILES
-                            .lock()
-                            .iter()
-                            .map(|(key, val)| (key.clone(), val.clone()))
-                            .collect::<Vec<(String, usize)>>();
-                        // 按版本号从小到大排序
-                        hotfixed_files.sort_by(|a, b| a.1.cmp(&b.1));
-
-                        for (path, _) in hotfixed_files {
-                            let vm = vm.clone();
-                            let _ =
-                                MAIN_ASYNC_RUNTIME.spawn(MAIN_ASYNC_RUNTIME.alloc(), async move {
-                                    if let Err(e) = hotfix_load(vid, vm, context, path).await {
-                                        warn!("hotfix error: {:?}", e);
-                                    }
-                                });
-                        }
-                    }
+                    // if !is_debug_mode {
+                    //     // 获取已经热更新过的文件
+                    //     let mut hotfixed_files = HOTFIX_FILES
+                    //         .lock()
+                    //         .iter()
+                    //         .map(|(key, val)| (key.clone(), val.clone()))
+                    //         .collect::<Vec<(String, usize)>>();
+                    //     // 按版本号从小到大排序
+                    //     hotfixed_files.sort_by(|a, b| a.1.cmp(&b.1));
+
+                    //     for (path, _) in hotfixed_files {
+                    //         let vm = vm.clone();
+                    //         let _ =
+                    //             MAIN_ASYNC_RUNTIME.spawn(MAIN_ASYNC_RUNTIME.alloc(), async move {
+                    //                 if let Err(e) = hotfix_load(vid, vm, context, path).await {
+                    //                     warn!("hotfix error: {:?}", e);
+                    //                 }
+                    //             });
+                    //     }
+                    // }
 
                     VID_CONTEXTS
                         .lock()