# Function: watchNotifications()

```ts
function watchNotifications(node, options): () => void;
```

Defined in: [packages/core/src/node/watch-notifications.ts:55](https://github.com/leifriksheim/minca/blob/main/core/src/node/watch-notifications.ts#L55)

Starts matching. Needs a node with the account key — an app connected with
`scope: 'account'`; any other has no automations to read, and hears nothing.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `node` | [`P2PNode`](https://minca.dev/api/core/interfaces/P2PNode.md) |
| `options` | [`WatchNotificationsOptions`](https://minca.dev/api/core/interfaces/WatchNotificationsOptions.md) |

## Returns

Stops it

() => `void`
