Viewing docs for an older release. View latest

<LiveReload />

This component connects your app to the Remix asset server and automatically reloads the page when files change in development. In production it renders null, so you can safely render it always in your root route.

import { LiveReload } from "@remix-run/react";

export default function Root() {
  return (
      <head />
        <LiveReload />
Docs and examples licensed under MIT