Home > @rushstack/heft > CompileSubstageHooks
CompileSubstageHooks class
Signature:
export declare class CompileSubstageHooks extends BuildSubstageHooksBase
Extends: BuildSubstageHooksBase
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
afterCompile | readonly | AsyncParallelHook | The afterCompile event is fired exactly once, after the "compile" stage completes its first operation. The "bundle" stage will not begin until all event handlers have resolved their promises. The behavior of this event is the same in watch mode and non-watch mode. |
afterRecompile | readonly | AsyncParallelHook | The afterRecompile event is only used in watch mode. It fires whenever the compiler's outputs have been rebuilt. The initial compilation fires the afterCompile event only, and then all subsequent iterations fire the afterRecompile event only. Heft does not wait for the afterRecompile promises to resolve. |