Skip to content

Commit 1fae7f8

Browse files
authored
docs(api): add shutdown compiler hook (#6226)
1 parent db4c46b commit 1fae7f8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/content/api/compiler-hooks.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,12 @@ Executed when a watching compilation has been invalidated. This hook is _not_ co
284284

285285
Called when a watching compilation has stopped.
286286

287+
### shutdown
288+
289+
`AsyncSeriesHook`
290+
291+
Called when the compiler is closing.
292+
287293
### infrastructureLog
288294

289295
`SyncBailHook`

0 commit comments

Comments
 (0)