Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/heft > IWatchFileSystem > statSync

IWatchFileSystem.statSync() method

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

Signature:

statSync(filePath: string): fs.Stats;

Parameters

Parameter

Type

Description

filePath

string

Returns:

fs.Stats