hfour / wsrun

Command runner for Yarn workspaces. Dependency aware.
MIT License
512 stars 31 forks source link

The path rewriter is missing paths #93

Open KnisterPeter opened 4 years ago

KnisterPeter commented 4 years ago

We use wsrun in our monorepo to run the typescript compiler in watch mode. While setting up the vscode default build task and the problem matcher, I've tried to let wsrun rewrite tsc output paths. That fails currently.

package
 | src/index.tsx(33,5): error TS2304: Cannot find name 'adsf'.

Would it be an option to give wsrun a pattern which should be checked?

KnisterPeter commented 4 years ago

Just for the reference: I've found out that with pretty output enabled in tsconfig.json the path rewriting does work. So I've managed to create a problem matcher which listens to all errors in all tsc processes in the whole monorepo.