# SeedcordHmrConfig

`interface` in `seedcord` · v0.18.2-next.0

<https://docs.seedcord.org/packages/seedcord/0.18.2-next.0/interfaces/seedcord-hmr-config>

HMR configuration used by the Seedcord CLI.

```ts
interface SeedcordHmrConfig
```

## Properties

### restart

```ts
restart: string[]
```

Glob patterns for files that should trigger a full restart when changed.

### rollback

```ts
rollback: boolean;
```

Whether a failed hot-reload rolls back to the last-good version of the file.

### typecheck

```ts
typecheck: boolean | SeedcordTypecheckConfig;
```

Runs `tsc --watch` alongside the bot and reports type errors on the `tsc` channel.
