Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The dev server triggers hot reloads on changes in unrelated files #344

Open
jakst opened this issue Aug 1, 2024 · 0 comments
Open

The dev server triggers hot reloads on changes in unrelated files #344

jakst opened this issue Aug 1, 2024 · 0 comments

Comments

@jakst
Copy link

jakst commented Aug 1, 2024

The the following app.config.ts, Vinxi reload the page completely on changes in index2.html, even though it is not included in the app.

import { createApp } from "vinxi"

export default createApp({
  routers: [
    {
      name: "client",
      type: "spa",
      handler: "./index.html",
      base: "/",
    },
  ],
})

Full reproduction repo available here https://github.com/jakst/vinxi-hmr-bug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant