---
url: /api/cli/types/bin/function-should-ignore-watch-file.md
description: api documentation of shouldIgnoreWatchFile from @tsed/cli
---

## Usage

```typescript
import { shouldIgnoreWatchFile } from "@tsed/cli/src/bin/tsed-dev";
```

> See [/packages/cli/src/bin/tsed-dev.ts](https://github.com/tsedio/tsed-cli/blob/v7.8.1/packages/cli/src/bin/tsed-dev.ts#L0-L0).

## Overview

```ts
function shouldIgnoreWatchFile(file: string | undefined, watcher?: unknown): boolean;
```
