onDependenciesChange
Function to trigger an action when any of the provided dependencies changes.
This function returns an Observable that emits a void value whenever any of the files in the provided dependencies set changes. The Observable is created by merging Observables that emit on file changes for each dependency. When a file changes, the function filters out events that are not updates, maps the event to a void value, and emits the void value.
Presentation
function onDependenciesChange (
dependencies: ObservableSet<string>,
): Observable <void>;Returns
Observable <void> -{Observable
Parameters
| Name | Type | Description |
|---|---|---|
| dependencies | ObservableSet<string> | An ObservableSet of file paths to watch for changes. |