Skip to content

Commit

Permalink
add todo
Browse files Browse the repository at this point in the history
  • Loading branch information
lubieowoce committed Dec 10, 2024
1 parent 4a9a64d commit 06fde3b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -966,6 +966,11 @@ async function startWatcher(opts: SetupOpts) {
}
}

// TODO:
// 1. what if the client hasn't come online yet? we need to detect that, buffer these, and send them later
// 2. what if multiple clients are connected? we need to somehow know which one sent the request.
// we might not even have a session id yet because that's in-memory and they may have refreshed the tab.
// maybe we need to push that id to the client in a set-cookie or something.
hotReloader.send({
action: HMR_ACTIONS_SENT_TO_BROWSER.AFTER_ERROR,
source: source,
Expand Down

0 comments on commit 06fde3b

Please sign in to comment.