NX Daemon does not respond after first usage #27834
-
Hi, I recently tried out NX and was able to successfully run a command.
I does this in a endless loop. When I stop the daemon I can run again one command and afterwards it is again in this loop. Anyone an idea what causes this problem? My
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I may have found the solution. If you have the Nx appears to not recognize this and actually tracks the files inside of the Adding a I've created an issue here: #30313 |
Beta Was this translation helpful? Give feedback.
I may have found the solution.
If you have the
.nx
folder in a.gitignore
file that is above the root like:outer/.gitignore
outer/inner/nx.json
outer/inner/.nx/**
Nx appears to not recognize this and actually tracks the files inside of the
.nx
cache folder. Causing the daemon to infinitely recalculate hashes.Adding a
.gitignore
with.nx
inside of it into the nx workspace root folder (outer/inner/.gitignore
) seems to fix this.I've created an issue here: #30313