Skip to content

Commit

Permalink
Fix watch-all (#529)
Browse files Browse the repository at this point in the history
  • Loading branch information
TwitchBronBron committed Nov 17, 2023
1 parent 002f9cc commit 8909cf3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"group": "watch",
},
"isBackground": true,
"problemMatcher": "$tsc-watch"
"problemMatcher": {
"base": "$tsc-watch",
"fileLocation": "absolute"
}
},
{
"label": "watch",
Expand Down
2 changes: 1 addition & 1 deletion scripts/watch-all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ const printStatus = debounce(() => {
logger.writeLine(`${chalk.red(project.name)} diagnostics:\n`);
for (const diagnostic of project.diagnostics ?? []) {
logger.writeLine(
diagnostic.raw?.replace(diagnostic.path!, path.normalize(path.join('../', diagnostic.path!)))
diagnostic.raw?.replace(diagnostic.path!, path.normalize(path.join(project.path, diagnostic.path!)))
);
}
}
Expand Down

0 comments on commit 8909cf3

Please sign in to comment.