diff --git a/CHANGELOG.md b/CHANGELOG.md index 653445f..0ca1776 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [1.1.3](https://github.com/murugaratham/vscode-dotnet-watch/compare/v1.1.2...v1.1.3) (2022-05-26) + ### [1.1.1](https://github.com/murugaratham/vscode-dotnet-watch/compare/v1.1.0...v1.1.1) (2022-03-01) diff --git a/package-lock.json b/package-lock.json index 83da24d..12458bd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "vscode-dotnet-watch", - "version": "1.1.1", + "version": "1.1.3", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "1.1.1", + "version": "1.1.3", "license": "MIT", "dependencies": { "typescript-collections": "^1.3.3" diff --git a/package.json b/package.json index 3c2be98..06546bd 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-dotnet-watch", "displayName": ".NET Watch", "description": "Dotnet watch with automatic debugger attach", - "version": "1.1.1", + "version": "1.1.3", "publisher": "Murugaratham", "engines": { "vscode": "^1.42.1" diff --git a/src/services/process-service.ts b/src/services/process-service.ts index 5ce806e..2228a99 100644 --- a/src/services/process-service.ts +++ b/src/services/process-service.ts @@ -53,9 +53,7 @@ export default class ProcessService implements Disposable { // build and execute command line tool "ps" to get details of all running processes const args = ["-o pid,ppid,command"]; - const tmp = child_process.execFileSync("ps", args, { - encoding: "utf8", - }); + const tmp = child_process.execSync(`ps ${args}`).toString(); // split process informations results for each process const processLines = tmp diff --git a/src/services/task-service.ts b/src/services/task-service.ts index 724ce5f..86e1587 100644 --- a/src/services/task-service.ts +++ b/src/services/task-service.ts @@ -125,7 +125,7 @@ export default class TaskService implements Disposable { cwd: config.workspace.uri.fsPath, env: config.env, }), - "$mscompile" + "$msCompile" ); //setting these gives a better experience when debugging task.presentationOptions.reveal = TaskRevealKind.Silent; @@ -239,6 +239,7 @@ export default class TaskService implements Disposable { if (projectUri) { const task = await TaskService.GenerateTask(config, projectUri); TaskService.StartTask(task); + console.log("started task") } // if no project not found or it isn't unique show error message. else {