跳到內容

WatchResult

本頁內容尚未翻譯。

WatchResult: Constructor<
| {
_tag: "Failed"
cause: Cause<HmrError>
}
| {
_tag: "RolledBack"
entries: readonly string[]
failures: readonly (
| {
_tag: "TimedOut"
fork: number
plugin: string
}
| {
_tag: "Failed"
cause: Cause<unknown>
fork: number
plugin: string
}
)[]
}
| {
_tag: "Reloaded"
entries: readonly string[]
}
| {
_tag: "Skipped"
modules: readonly string[]
reason: "restart-required" | "ambiguous-exports" | "identity-conflict"
}
>

Defined in: index.ts:58