Milestone-1 dev server: real React Fast Refresh.
- Compiles TS/TSX/JSX on demand through
oj_compiler, rewriting relative imports to canonical rooted URLs so every module has one identity. - Maintains the module graph (
oj_graph) as modules are served; file changes propagate to the nearest accepting boundary and ship as targetedupdatemessages, falling back tofull-reload. - Serves Meta's react-refresh runtime (vendored via @vitejs/plugin-react's
ESM build) and appends the same append-only refresh glue plugin-react
uses: hoisted
$RefreshReg$/$RefreshSig$locals, self-import for export-shape validation,import.meta.hot.acceptin a microtask.
Still deliberately unbundled (bundle-in-dev is M3); CSS updates and
server-side hot.invalidate re-propagation are M2.