범용적으로 만든것들이랑 ui 수정
This commit is contained in:
@@ -348,36 +348,16 @@ export class ComponentRegistry {
|
||||
// Hot Reload 제어
|
||||
hotReload: {
|
||||
status: async () => {
|
||||
try {
|
||||
const hotReload = await import("../utils/hotReload");
|
||||
return {
|
||||
active: hotReload.isHotReloadActive(),
|
||||
componentCount: this.getComponentCount(),
|
||||
timestamp: new Date(),
|
||||
};
|
||||
} catch (error) {
|
||||
console.warn("Hot Reload 모듈 로드 실패:", error);
|
||||
return {
|
||||
active: false,
|
||||
componentCount: this.getComponentCount(),
|
||||
timestamp: new Date(),
|
||||
error: "Hot Reload 모듈을 로드할 수 없습니다",
|
||||
};
|
||||
}
|
||||
// hotReload 기능 제거 (불필요)
|
||||
return {
|
||||
active: false,
|
||||
componentCount: this.getComponentCount(),
|
||||
timestamp: new Date(),
|
||||
};
|
||||
},
|
||||
force: async () => {
|
||||
try {
|
||||
// hotReload 모듈이 존재하는 경우에만 실행
|
||||
const hotReload = await import("../utils/hotReload").catch(() => null);
|
||||
if (hotReload) {
|
||||
hotReload.forceReloadComponents();
|
||||
console.log("✅ 강제 Hot Reload 실행 완료");
|
||||
} else {
|
||||
console.log("⚠️ hotReload 모듈이 없어 건너뜀");
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("❌ 강제 Hot Reload 실행 실패:", error);
|
||||
}
|
||||
// hotReload 기능 비활성화 (불필요)
|
||||
console.log("⚠️ 강제 Hot Reload는 더 이상 필요하지 않습니다");
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user