Closed alexciesielski closed 1 year ago
This issue has been automatically marked as stale because it hasn't had any recent activity. It will be closed in 14 days if no further activity occurs. If we missed this issue please reply to keep it active. Thanks for being a part of the Nx community! 🙏
I've got this issue too. I have a custom plugin in my libs dir that I don't want on my graph. But when running
nx graph --exclude=my-custom-plugin
I still see the my-custom-plugin
project.
Would be nice to have a way to permanently disable a project from the graph without having to specify --exclude
, but for now I'd be more than happy if it worked, it's been a while since I've used the option, it was definitely working for me a while back.
Node : 18.16.0
OS : linux x64
pnpm : 8.3.1
Hasher : Native
nx : 16.1.4
@nx/js : 16.1.4
@nx/jest : 16.1.4
@nx/linter : 16.1.4
@nx/workspace : 16.1.4
@nx/devkit : 16.1.4
@nrwl/tao : 16.1.4
nx-cloud : 16.0.5
typescript : 4.9.5
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
Running
correctly focuses on
todos-feature-main
but does not exclude projectsproject-one
andproject-two
.Expected Behavior
I expect both projects
project-one
andproject-two
to not be highlighted/visible/selectedSteps to Reproduce
Even though I exclude
shared-header
, it is still highlighted and rendered in the graph. Basically whatever I define for--include
or--exclude
is not being considered when rendering the graph. The only param that works is--focus
.Environment
Tried in both the
nx-examples
repo and in my project with the latest version of nx.