Function addDirectoryWatchInputFromPath [src]

Any changes inside the directory will trigger invalidation. See also addDirectoryWatchInput which takes a Build.LazyPath instead. This function should only be called when it has been verified that the dependency on path is not already accounted for by a Step dependency. In other words, before calling this function, first check that the Build.LazyPath which this path is derived from is not generated.

Prototype

pub fn addDirectoryWatchInputFromPath(step: *Step, path: Build.Cache.Path) !void

Parameters

step: *Steppath: Build.Cache.Path

Source

pub fn addDirectoryWatchInputFromPath(step: *Step, path: Build.Cache.Path) !void { return addWatchInputFromPath(step, path, "."); }