Home > @rushstack/heft > IWatchFileSystem > stat
IWatchFileSystem.stat() method
Asynchronous stat. Watches the file for changes, or if it does not exist, watches to see if it is created.
Signature:
stat(filePath: string, callback: StatCallback): void;
Parameters
Parameter | Type | Description |
|---|---|---|
filePath | string | |
callback |
Returns:
void