You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
does not do anything when I modify files. Actually sometimes it does it once or twice but then it stops working.
When I look at the nx logs, I see that it registers the file modifications (with an ever growing lag!), but they don't get to lerna.
I have tested this on 2 different OS: Arch Linux and Mac OS. The buggy behavior only happens on Arch Linux, everything works as expected on Mac OS. There is also no "ever growing lag" on Mac OS.
Expected Behavior
lerna properly responds to files changing, even on Arch Linux!
[NX Daemon Server] - 2024-02-06T19:27:52.852Z - [WATCHER]: 0 file(s) created or restored, 0 file(s) modified, 2 file(s) deleted
[NX Daemon Server] - 2024-02-06T19:27:52.852Z - [WATCHER]: Processing file changes in outputs
[NX Daemon Server] - 2024-02-06T19:27:52.853Z - Time taken for 'changed-projects' 0.017439999617636204ms
<Here there is a lag that gets longer and longer every time I modify a file>
[NX Daemon Server] - 2024-02-06T19:27:59.259Z - [REQUEST]: Updated workspace context based on watched changes, recomputing project graph...
[NX Daemon Server] - 2024-02-06T19:27:59.259Z - [REQUEST]:
[NX Daemon Server] - 2024-02-06T19:27:59.259Z - [REQUEST]: packages/a/package.json,packages/a/4913
[NX Daemon Server] - 2024-02-06T19:27:59.261Z - Time taken for 'hash changed files from watcher' 0.038179999217391014ms
Current Behavior
pnpm exec lerna watch -- echo \$LERNA_PACKAGE_NAME \$LERNA_FILE_CHANGE
does not do anything when I modify files. Actually sometimes it does it once or twice but then it stops working.
When I look at the
nx
logs, I see that it registers the file modifications (with an ever growing lag!), but they don't get tolerna
.I have tested this on 2 different OS: Arch Linux and Mac OS. The buggy behavior only happens on Arch Linux, everything works as expected on Mac OS. There is also no "ever growing lag" on Mac OS.
Expected Behavior
lerna
properly responds to files changing, even on Arch Linux!I don't know if this is a regression.
Steps to Reproduce
I have made a minimal repo reproducing the issue: https://github.com/simlmx/repro-lerna-watch
See the instructions in the README.
Failure Logs / Configuration
When I modify a file, I see these
nx
logs:lerna.json
Environment
The text was updated successfully, but these errors were encountered: