diff --git a/helloworld-sample/.vscode/launch.json b/helloworld-sample/.vscode/launch.json index a875ceadf2..07770de06e 100644 --- a/helloworld-sample/.vscode/launch.json +++ b/helloworld-sample/.vscode/launch.json @@ -18,4 +18,4 @@ "preLaunchTask": "npm: watch" } ] -} +} \ No newline at end of file diff --git a/helloworld-sample/.vscode/tasks.json b/helloworld-sample/.vscode/tasks.json index 241aa6d996..36f5dbfe3e 100644 --- a/helloworld-sample/.vscode/tasks.json +++ b/helloworld-sample/.vscode/tasks.json @@ -1,20 +1,27 @@ // See https://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format { - "version": "2.0.0", - "tasks": [ - { - "type": "npm", - "script": "watch", - "problemMatcher": "$tsc-watch", - "isBackground": true, - "presentation": { - "reveal": "never" - }, - "group": { - "kind": "build", - "isDefault": true - } - } - ] + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "watch", + "isBackground": true, + "problemMatcher": { + "base": "$tsc-watch", + "background": { + "activeOnStart": true, + "beginsPattern": "^\\s*\\[.*\\]\\s*Starting compilation in watch mode.*$", + "endsPattern": "^\\s*\\[.*\\]\\s*Found 0 errors\\. Watching for file changes\\.$" + } + }, + "presentation": { + "reveal": "never" + }, + "group": { + "kind": "build", + "isDefault": true + } + } + ] } \ No newline at end of file diff --git a/helloworld-sample/package-lock.json b/helloworld-sample/package-lock.json index 4930e098a2..241e30e50d 100644 --- a/helloworld-sample/package-lock.json +++ b/helloworld-sample/package-lock.json @@ -1647,4 +1647,4 @@ } } } -} +} \ No newline at end of file