swimauger/tsc-hooks

feature-request: work with Typescript project references and --build

Opened this issue · 1 comments

I found tsc-hooks looking for a solution to the issue of copying assets files in a lerna repo and using TypeScript Project References.
Project references are great for speeding up build times when working on a portion of the repo, but in front-end apps tsc doesn't copy asset files so you still need to run some global command to copy over the files. I was hoping these hooks would be the solution as they would run when tsc was triggered in a dependent package. Unfortunately the hooks are only run the in calling package

For now, I can write a local hook that triggers a run of hooks in each dependent project and its dependent projects.