Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/heft > IHeftTaskHooks > runIncremental

IHeftTaskHooks.runIncremental property

If provided, the runIncremental hook is called after all dependency task executions have completed during a watch mode run. It is where the plugin can perform incremental work. To use it, call run.tapPromise(<pluginName>, <callback>).

Signature:

readonly runIncremental: AsyncParallelHook<IHeftTaskRunIncrementalHookOptions>;