File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 33
33
},
34
34
"icon" : " assets/icon.png" ,
35
35
"engines" : {
36
- "vscode" : " ^1.78 .1"
36
+ "vscode" : " ^1.79 .1"
37
37
},
38
38
"categories" : [
39
39
" Linters" ,
Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export const diagnosticSubscribe = (
83
83
)
84
84
85
85
// Trigger when any file in the workspace is modified.
86
- // Our interest here is to know about package-lock.json or pnpm-lock.yaml.
86
+ // Our interest here is to know about the package.json itself, package-lock.json or pnpm-lock.yaml.
87
87
const lockerUpdated = ( uri : Uri ) : void => {
88
88
const workspacePath = getWorkspacePath ( uri )
89
89
@@ -94,7 +94,7 @@ export const diagnosticSubscribe = (
94
94
}
95
95
96
96
const lockerWatcher = workspace . createFileSystemWatcher (
97
- "**/{package-lock.json,pnpm-lock.yaml}"
97
+ "**/{package.json,package -lock.json,pnpm-lock.yaml}"
98
98
)
99
99
100
100
context . subscriptions . push ( lockerWatcher . onDidCreate ( lockerUpdated ) )
You can’t perform that action at this time.
0 commit comments