What version of Remix are you using?
v1.7.6
Steps to Reproduce
create-remix using defaults
- Add a loader to
app/routes/index.tsx that sleeps for 1 second
- Open http://localhost:3000 in Firefox Developer Edition (I'm using
108.0b6 (64-bit) macOS silicon)
- Make a change to the file to cause remix rebuild while the firefox window is in view (focus state doesn't seem to matter)
- Page continually reloads until window is no longer in view (focus state doesn't seem to matter)
export const loader: LoaderFunction = async () => {
await new Promise((resolve) => setTimeout(resolve,1000));
const data = { key: "value" };
return json(data);
}
Expected Behavior
The page should only live reload once
Actual Behavior
The page reloads in a looping manner. Normal behavior can be observed in chrome or by removing the sleeping timeout.
What version of Remix are you using?
v1.7.6
Steps to Reproduce
create-remixusing defaultsapp/routes/index.tsxthat sleeps for 1 second108.0b6 (64-bit)macOS silicon)Expected Behavior
The page should only live reload once
Actual Behavior
The page reloads in a looping manner. Normal behavior can be observed in chrome or by removing the sleeping timeout.