Skip to content

LiveReload not working #6847

Description

@tombohub

What version of Remix are you using?

1.18.1

Are all your remix dependencies & dev-dependencies using the same version?

  • Yes

Steps to Reproduce

follow tutorial: https://remix.run/docs/en/main/tutorials/jokes

  1. npx create-remix@latest
  2. chose these options:
? Where would you like to create your app? remix-jokes
? What type of app do you want to create? Just the basics
? Where do you want to deploy? Remix Server 
? TypeScript or JavaScript? TypeScript
? Do you want me to run `npm install`? Yes
  1. cd remix-jokes
  2. Replace the contents of app/root.tsx with this:
import { LiveReload } from "@remix-run/react";

export default function App() {
  return (
    <html lang="en">
      <head>
        <meta charSet="utf-8" />
        <meta
          name="viewport"
          content="width=device-width,initial-scale=1"
        />
        <title>Remix: So great, it's funny!</title>
      </head>
      <body>
        Hello world
        <LiveReload />
      </body>
    </html>
  );
}
  1. try to change 'Hello World' to something else

Expected Behavior

To live reload and see changes in browser

Actual Behavior

Id doesn't live reload. I have to refresh browser manually to see changes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions