Rush StackShopBlogEvents
Skip to main content

Home > @microsoft/rush-lib > RushLifecycleHooks > runAnyPhasedCommand

RushLifecycleHooks.runAnyPhasedCommand property

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

The hook to run before executing any phased Rush CLI Command (defined in command-line.json, or the default "build" or "rebuild").

Signature:

runAnyPhasedCommand: AsyncSeriesHook<IPhasedCommand>;