1
0
Fork 0

fix(build): Explicitly set esbuild serve host/port

This commit is contained in:
Ben Fortune 2023-02-18 10:00:39 +00:00 committed by Sean Sube
parent 3dde3b9237
commit 035446ecbc
1 changed files with 2 additions and 0 deletions

View File

@ -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/',
}); });