Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/heft > IHeftTaskHooks > registerFileOperations

IHeftTaskHooks.registerFileOperations property

If provided, the registerFileOperations hook is called exactly once before the first time either run or runIncremental would be invoked to provide the plugin an opportunity to request dynamic file copy or deletion operations.

Signature:

readonly registerFileOperations: AsyncSeriesWaterfallHook<IHeftTaskFileOperations>;