Skip to content

Commit

Permalink
fix(vscode): changing configuration in auto roots mode creates duplic…
Browse files Browse the repository at this point in the history
…ate instances (#3184)
  • Loading branch information
Simon-He95 committed Sep 30, 2023
1 parent 86bb489 commit 73ed105
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/vscode/package.json
Expand Up @@ -121,7 +121,8 @@
"scripts": {
"build": "tsup",
"dev": "esno ./scripts/dev.ts && tsup --watch src",
"publish": "esno ./scripts/publish.ts"
"publish": "esno ./scripts/publish.ts",
"pack": "vsce package --no-dependencies"
},
"devDependencies": {
"@types/vscode": "^1.71.0",
Expand Down
1 change: 0 additions & 1 deletion packages/vscode/src/index.ts
Expand Up @@ -109,7 +109,6 @@ async function rootRegisterAuto(

ext.subscriptions.push(watcher.onDidChange(() => {
cacheContext.get(configUrl).reload()
cacheFileLookUp.clear()
}))

ext.subscriptions.push(watcher.onDidDelete(() => {
Expand Down

0 comments on commit 73ed105

Please sign in to comment.