From 60d86e13ef0e8f5f8bce782427c5f6795f6374d9 Mon Sep 17 00:00:00 2001 From: Evan You Date: Wed, 30 Dec 2020 12:08:23 -0500 Subject: [PATCH] chore: use different port for serve --- src/node/serve/serve.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/node/serve/serve.ts b/src/node/serve/serve.ts index 8f6ed28d..2497cec2 100644 --- a/src/node/serve/serve.ts +++ b/src/node/serve/serve.ts @@ -8,7 +8,7 @@ export interface ServeOptions { } export async function serve(options: ServeOptions = {}) { - const port = options.port !== undefined ? options.port : 3000 + const port = options.port !== undefined ? options.port : 5000 const site = await resolveConfig(options.root) const server = http.createServer(sirv(site.outDir, { dev: true, etag: true }))