disable live reload

This commit is contained in:
Rizky 2024-08-08 14:16:06 +07:00
parent 0c80f37c13
commit 27c45d449a
1 changed files with 1 additions and 2 deletions

View File

@ -1,13 +1,12 @@
import { createRoot } from "react-dom/client"; import { createRoot } from "react-dom/client";
import { defineReact, defineWindow } from "web-utils"; import { defineReact, defineWindow } from "web-utils";
import { initBaseConfig } from "./base/base"; import { initBaseConfig } from "./base/base";
import { initDevLiveReload } from "./base/live-reload/dev-live-reload";
import { Root, isPreview } from "./root"; import { Root, isPreview } from "./root";
import { w } from "./w"; import { w } from "./w";
(async () => { (async () => {
import("./font"); import("./font");
initDevLiveReload(); // initDevLiveReload();
initBaseConfig(); initBaseConfig();
const div = document.getElementById("root"); const div = document.getElementById("root");
if (div) { if (div) {