Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/heft > IWatchFileSystem > lstat

IWatchFileSystem.lstat() method

Asynchronous lstat. Watches the file for changes, or if it does not exist, watches to see if it is created.

Signature:

lstat(filePath: string, callback: StatCallback): void;

Parameters

Parameter

Type

Description

filePath

string

callback

StatCallback

Returns:

void