https://github.com/simlmx/repro-lerna-watch
Minimal repo to reproduce a bug with `lerna watch`
https://github.com/simlmx/repro-lerna-watch
Last synced: 4 months ago
JSON representation
Minimal repo to reproduce a bug with `lerna watch`
- Host: GitHub
- URL: https://github.com/simlmx/repro-lerna-watch
- Owner: simlmx
- Created: 2024-02-06T18:25:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-06T18:27:46.000Z (over 2 years ago)
- Last Synced: 2025-06-28T01:02:00.775Z (12 months ago)
- Size: 51.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Minimal package that reproduces a bug with `lerna watch`
# Environment
* Operating System: Arch Linux
* Kernel: Linux 6.7.4-arch1-1
* `pnpm`: `8.15.1`
## Steps to reproduce
Install the dependencies
pnpm i
Start `lerna watch`
pnpm exec lerna watch -- echo \$LERNA_PACKAGE_NAME \$LERNA_FILE_CHANGES
Look at the logs of `nx`
tail -f node_modules/.cache/nx/d/daemon.log
Edit `packages/a/package.json` with Vim
When we edit `a/package.json`, `nx` sees it, but it doesn't get to `lerna`. Sometimes it works once or twice!