提交 7e0daae1 编写于 作者: J Johannes Rieken

fix #75245

上级 0b4d2dcd
......@@ -277,8 +277,8 @@ class SnippetsService implements ISnippetsService {
this._initFolderSnippets(SnippetSource.Workspace, snippetFolder, bucket);
} else {
// watch
bucket.push(watch(this._fileService, snippetFolder, (type) => {
if (type === FileChangeType.ADDED) {
bucket.push(this._fileService.onFileChanges(e => {
if (e.contains(snippetFolder, FileChangeType.ADDED)) {
this._initFolderSnippets(SnippetSource.Workspace, snippetFolder, bucket);
}
}));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册