We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c6027b commit 42ffec4Copy full SHA for 42ffec4
src/lib/file/file-watcher.ts
@@ -33,5 +33,6 @@ export function createFileWatch(
33
34
return Observable.create(observer => {
35
watch.on('all', (event: FileWatchEvent, filePath: string) => handleFileChange(event, filePath, observer));
36
+ return () => watch.close();
37
});
38
}
0 commit comments