lerna / nx yarn watch not run on every packages
See original GitHub issueCurrent Behavior
I try to run a yarn --watch
on every packages with --parallel
, but only 3 packages of my 43 are actually watched, I use nx with useNx: true
. This issue seems to be the same as #3198 but it is not working in my case.
I use lerna 5.2.0
and nx 14.4.3
It’s working well if I deactivate nx: useNx: false
Expected Behavior
The watch command should be executed on every package
Steps to Reproduce
create watch
command in every package, and run with lerna --parallel ....
Environment
Environment info:
System:
OS: macOS 12.4
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Binaries:
Node: 14.19.0 - ~/.nvm/versions/node/v14.19.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v14.19.0/bin/yarn
npm: 6.14.16 - ~/.nvm/versions/node/v14.19.0/bin/npm
Utilities:
Git: 2.32.1 - /usr/bin/git
npmPackages:
lerna: 5.2.0 => 5.2.0
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:8
Top Results From Across the Web
A guide through The Wild Wild West of setting up a mono repo ...
In this part, I will explain step by step how to setup Lerna, Yarn Workspaces and Typescript in a mono repo. In the...
Read more >Getting Started | Lerna
When running lerna init , Lerna configures the workspace to use NPM/YARN/PNPM workspaces, the built-in solution for local referencing of packages.
Read more >Add Nx to a Lerna & Yarn workspaces monorepo - YouTube
Learn how to add Nx to any existing monorepo. In this example, Juri Strumpflohner (@juristr) walks you through adding Nx to a Lerna...
Read more >From Lerna/Yarn to Nx: Faster Build Times and Better Dev ...
If I want to test all the projects, I can use a single command to do it. Publishing (Lerna only). I can run...
Read more >@lerna/list | Yarn - Package Manager
0 (2022-12-13). Bug Fixes. core: more detailed error message when version cannot be found (#3424 (b729b0c); schema: add the other ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thx I will try to find some time to test it
That was really helpful to have an open-source example, thank you @rileylnapier!
I’ve merged one part of a relevant fix already and #3283 is the final piece. I will cut a patch of lerna once it’s merged