From 36dfabba4e27c885ce5309c4031b4de5110ede75 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Sat, 18 Jun 2022 18:15:58 +0530 Subject: [PATCH] docs(api): add `shutdown` compiler hook --- src/content/api/compiler-hooks.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/content/api/compiler-hooks.mdx b/src/content/api/compiler-hooks.mdx index 4c19eade802f..3f107f5f5a5c 100644 --- a/src/content/api/compiler-hooks.mdx +++ b/src/content/api/compiler-hooks.mdx @@ -284,6 +284,12 @@ Executed when a watching compilation has been invalidated. This hook is _not_ co Called when a watching compilation has stopped. +### shutdown + +`AsyncSeriesHook` + +Called when the compiler is closing. + ### infrastructureLog `SyncBailHook`