Home > @rushstack/heft > IWatchFileSystem > readdir
IWatchFileSystem.readdir() method
Asynchronous readdir. Watches the directory for changes.
Signature:
readdir(filePath: string, callback: ReaddirStringCallback): void;
Parameters
Parameter | Type | Description |
|---|---|---|
filePath | string | |
callback |
Returns:
void