interface FsEvent

A file-system change event, as yielded by watch.

Properties

kind:
"create"
| "modify"
| "remove"

The type of change.

paths: string[]

Absolute paths of the affected files.

Usage

import { type FsEvent } from ".";