diff --git a/docs/getting-started/running-locally.md b/docs/getting-started/running-locally.md index ed386a2b..3e05b5a6 100644 --- a/docs/getting-started/running-locally.md +++ b/docs/getting-started/running-locally.md @@ -33,6 +33,13 @@ passing the extra folder as an argument: `--watch=static/`. You should also add `routes/` to the watch list, so that the server restarts automatically whenever you add a new route. +If you want to change the port or host, modify the options bag of the `start()` +call in `main.ts` to include an explicit port number: + +```js +await start(manifest, { port: 3000 }); +``` + Combining all of this we get the following `deno run` command: ```