fix(build): Explicitly set esbuild serve host/port
This commit is contained in:
parent
3dde3b9237
commit
035446ecbc
|
@ -65,6 +65,8 @@ if (watch) {
|
||||||
await ctx.watch();
|
await ctx.watch();
|
||||||
|
|
||||||
const { host, port } = await ctx.serve({
|
const { host, port } = await ctx.serve({
|
||||||
|
host: '127.0.0.1',
|
||||||
|
port: 8000,
|
||||||
servedir: 'out/',
|
servedir: 'out/',
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue