watchFile
Function to watch a specific file for changes.
Presentation
function watchFile (
filePath: string,
type?: EventType | EventType [] | undefined,
): Observable <Event >;
Returns
Observable <Event >
-{Observable<watcher.Event>} - An Observable that emits an event whenever the file changes.