## Current Behavior When Nx is invoked from a global install, both the global and local versions register process exit handlers that flush captured logs. This causes Nx Cloud logs to be displayed twice - once from the global installation and once from the local installation. ## Expected Behavior Only the local Nx installation should handle log flushing, preventing duplicate log output. The process exit handler is moved from the global entry point (nx.ts) to the local entry point (init-local.ts) so that log flushing only occurs once. ## Related Issue(s) This change requires users to update their globally installed Nx to fully resolve the duplicate logging issue, as the fix is now in the local version that gets invoked.
{{links}}
Nx: Smart Repos · Fast Builds
An AI-first build platform that connects everything from your editor to CI. Helping you deliver fast, without breaking things.
{{content}}