When yarn watch is used in the repository root, it starts TypeScript processes in all the packages and tries to start an example. There are a lot of issues with this setup, some files are not properly watched and reloaded etc. Also the examples don't work with Windows.
Maybe we can fix this by using https://preconstruct.tools/ , or using tsx. Needs more research.
Also checkout Simple monorepos via npm workspaces and TypeScript project references
When
yarn watchis used in the repository root, it starts TypeScript processes in all the packages and tries to start an example. There are a lot of issues with this setup, some files are not properly watched and reloaded etc. Also the examples don't work with Windows.Maybe we can fix this by using https://preconstruct.tools/ , or using
tsx. Needs more research.Also checkout Simple monorepos via npm workspaces and TypeScript project references