# ContextWatchdogRestartEvent

typedef

Fired after the watchdog restarts the context and the added items because of a crash.

```typescript
watchdog.on( 'restart', () => {
	console.log( 'The context has been restarted.' );
} );
```

[See source](https://github.com/ckeditor/ckeditor5/blob/master/packages/ckeditor5-watchdog/src/contextwatchdog.ts#L478)

<a id="properties">

## Properties

<a id="member-args">

### `args: [ ]`

<a id="member-name">

### `name: 'restart'`

<a id="member-return">

### `return: undefined`

#### Value

`object`

## Fired by

* [ContextWatchdog#restart](module_watchdog_contextwatchdog-ContextWatchdog.md#event-restart)

---

Full index of the CKEditor 5 API reference: [llms.txt](llms.txt)
