diff --git a/.vscode/launch.json b/.vscode/launch.json index 5765feea..28b0ef3d 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -26,7 +26,7 @@ "request": "launch", "args": ["--extensionDevelopmentPath=${workspaceRoot}"], // "outFiles": ["${workspaceRoot}/out/**/*.js"], - "preLaunchTask": "dev" + "preLaunchTask": "build:dev" }, { "name": "Test Extension", diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 59980f6c..45e9a144 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -3,9 +3,9 @@ "version": "2.0.0", "tasks": [ { - "label": "dev", + "label": "build:dev", "type": "npm", - "script": "dev", + "script": "build:dev", "group": "build", "isBackground": true, "problemMatcher": [ diff --git a/package.json b/package.json index 306a429f..1ce108a2 100644 --- a/package.json +++ b/package.json @@ -42,6 +42,7 @@ ], "scripts": { "build": "node build.mjs --mode=production", + "build:dev": "node build.mjs", "clean:all": "npm run clean:dist && npm run clean:language && npm run clean:out", "clean:dist": "del-cli dist", "clean:language": "del-cli language/*.tmLanguage.json",