We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e843b2 commit 843c0ffCopy full SHA for 843c0ff
MyApp.Client/vite.config.ts
@@ -40,6 +40,7 @@ export default defineConfig({
40
target: 'baseline-widely-available',
41
},
42
server: {
43
+ host: true, // Listen on all interfaces (both IPv4 and IPv6)
44
proxy,
45
}
46
})
MyApp/Program.cs
@@ -76,7 +76,6 @@
76
app.MapViteHmr(nodeProxy);
77
78
// Start the Vite dev server if the lockfile does not exist
79
- "../MyApp.Client/dist".AssertDir();
80
app.RunNodeProcess(nodeProxy,
81
lockFile: "../MyApp.Client/dist/lock",
82
workingDirectory: "../MyApp.Client");
0 commit comments