Hot reload not working? (BUN)

I try to setup the @hono/vite-dev-server with the default setup

vite.config.ts
import { defineConfig } from "vite";
import devServer from "@hono/vite-dev-server";

export default defineConfig({
  plugins: [
    devServer({
      entry: "src/index.tsx", // The file path of your application.
    }),
  ],
});



src/index.tsx
import { Hono } from "hono";

const app = new Hono();

app.get("/", (c) => c.html(<h1>Hello Vite!</h1>));

export default app;



The hot reload is very buggy on my side, it reload one time, and after it never updates the page again.

Did I miss something?
Was this page helpful?