aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code/src/commands')
-rw-r--r--editors/code/src/commands/runnables.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/editors/code/src/commands/runnables.ts b/editors/code/src/commands/runnables.ts
index c6d23a185..23fd280b4 100644
--- a/editors/code/src/commands/runnables.ts
+++ b/editors/code/src/commands/runnables.ts
@@ -128,7 +128,7 @@ export const autoCargoWatchTask: vscode.Task = {
128 name: 'cargo watch', 128 name: 'cargo watch',
129 source: 'rust-analyzer', 129 source: 'rust-analyzer',
130 definition: { 130 definition: {
131 type: "dupa", 131 type: 'watch'
132 }, 132 },
133 execution: new vscode.ShellExecution('cargo', ['watch'], { cwd: '.' }), 133 execution: new vscode.ShellExecution('cargo', ['watch'], { cwd: '.' }),
134 134
@@ -138,8 +138,8 @@ export const autoCargoWatchTask: vscode.Task = {
138 clear: true 138 clear: true
139 }, 139 },
140 // Not yet exposed in the vscode.d.ts 140 // Not yet exposed in the vscode.d.ts
141 runOptions: { 141 // https://github.com/Microsoft/vscode/blob/ea7c31d770e04b51d586b0d3944f3a7feb03afb9/src/vs/workbench/contrib/tasks/common/tasks.ts#L444-L456
142 runOn: 2 // RunOnOptions.folderOpen, https://github.com/Microsoft/vscode/blob/ea7c31d770e04b51d586b0d3944f3a7feb03afb9/src/vs/workbench/contrib/tasks/common/tasks.ts#L444-L456 142 runOptions: ({
143 } as unknown as vscode.RunOptions, 143 runOn: 2 // RunOnOptions.folderOpen
144 144 } as unknown) as vscode.RunOptions
145}; 145};