# FileWatchEvent

[**PromptScript API**](https://getpromptscript.dev/api-reference/index.md)

***

# Interface: FileWatchEvent

Defined in: [server/src/watcher.ts:4](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/server/src/watcher.ts#L4)

## Properties

### path

> **path**: `string`

Defined in: [server/src/watcher.ts:6](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/server/src/watcher.ts#L6)

***

### type

> **type**: `"file:changed"` \| `"file:created"` \| `"file:deleted"`

Defined in: [server/src/watcher.ts:5](https://github.com/mrwogu/promptscript/blob/49aa50f943865b985366c4eda6e95c5a31ef39a6/packages/server/src/watcher.ts#L5)