chore: use different port for serve

pull/198/head
Evan You 4 years ago
parent c878e6d3b5
commit 60d86e13ef

@ -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 }))

Loading…
Cancel
Save