File system watcher for incremental extraction. Monitors .ts/.html files with debouncing and recursive support.
- Source
Methods
(inner) watchFiles(optionsopt)
Watches source directory for .ts/.html changes
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
options | WatchOptions | <optional> |
- Source
Example
watchFiles({ srcDir: './src', onFileChange: path => extract(path) });