# SeedcordDevConfig

`interface` in `seedcord` · v0.24.0

<https://seedcord.org/docs/packages/seedcord/0.24.0/interfaces/seedcord-dev-config>

Options for `seedcord dev`.

```ts
interface SeedcordDevConfig
```

## Properties

### hmr

```ts
hmr?: SeedcordHmrConfig
```

Optional HMR configuration.

### idleAnimation

```ts
idleAnimation?: boolean
```

Runs any always-on animations in `seedcord dev`.

### port

```ts
port?: number
```

The port `seedcord dev` serves the worker's interactions endpoint on. `0` picks a free port
on each run. A `tunnel` URL needs a fixed port.

### tunnel

```ts
tunnel?: boolean | string
```

How `seedcord dev` exposes an http bot's interactions server. A gateway bot ignores it.

`true` opens a cloudflared quick tunnel and writes the interactions endpoint on every run
since the hostname changes each time. An https URL is one you already serve, through a named
cloudflared tunnel, a tailscale funnel, or any reverse proxy. The CLI checks that URL reaches
this process, writes the endpoint when the stored value differs, and leaves it in place.
