feat: keep dev server alive during HMR updates

This commit is contained in:
2026-07-13 15:17:49 +05:30
parent cf4c3723c5
commit 577c38a965
62 changed files with 281 additions and 169 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@wrnexus/cli",
"version": "0.2.20",
"version": "0.2.21",
"type": "module",
"main": "src/index.ts",
"exports": {
+8
View File
@@ -264,6 +264,14 @@ const MIGRATIONS: Migration[] = [
if (!ctx.dryRun) writeFileSync(file, VSCODE_EXTENSIONS, "utf8");
},
},
{
version: "0.2.21",
id: "in-process-hmr-runtime",
description: "No project-file changes; the in-process HMR behavior is runtime-only",
apply() {
// Explicit no-op: updating @wrnexus/dev-server is sufficient.
},
},
];
/** Release tooling uses this to require an explicit migration entry per version. */