1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
denoland-deno/tests/specs/serve/bad
Matt Mastracci 2f8825a935
feat: Add deno serve subcommand (#23511)
By default, `deno serve` will assign port 8000 (like `Deno.serve`).
Users may choose a different port using `--port`.

`deno serve /tmp/file.ts`

`server.ts`:
```ts
export default {
  fetch(req) {
    return new Response("hello world!\n");
  },
};
```
2024-04-24 19:45:49 +00:00
..
__test__.jsonc feat: Add deno serve subcommand (#23511) 2024-04-24 19:45:49 +00:00
main.out feat: Add deno serve subcommand (#23511) 2024-04-24 19:45:49 +00:00
main.ts feat: Add deno serve subcommand (#23511) 2024-04-24 19:45:49 +00:00