# HmrUpdateEvent

`interface` in `types` · v0.8.0-next.6

<https://docs.seedcord.org/packages/types/0.8.0-next.6/interfaces/hmr-update-event>

A dev-mode file change the framework reloads from.

```ts
interface HmrUpdateEvent
```

## Properties

### affectedModules

```ts
affectedModules: string[]
```

Files affected by this update, such as importers. Only populated for `update` events.

### file

```ts
file: string;
```

### rollback

```ts
rollback: boolean;
```

Whether a failed reload of this file rolls back to the last-good unit. Defaults to true.

### type

```ts
type: HmrEventType;
```
