Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/heft > IWatchFileSystem > lstatSync

IWatchFileSystem.lstatSync() method

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

Signature:

lstatSync(filePath: string): fs.Stats;

Parameters

Parameter

Type

Description

filePath

string

Returns:

fs.Stats