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
.nxfolder in a.gitignorefile that is above the root like:outer/.gitignoreouter/inner/nx.jsonouter/inner/.nx/**Nx appears to not recognize this and actually tracks the files inside of the
.nxcache folder. Causing the daemon to infinitely recalculate hashes.Adding a
.gitignorewith.nxinside of it into the nx workspace root folder (outer/inner/.gitignore) seems to fix this.I've created an issue here: #30313