docs(core): add information about disabling the nx daemon for plugin dev (#9499)
This commit is contained in:
parent
051a427a34
commit
f1400c65d8
@ -115,7 +115,7 @@ If a file hasn't changed since the last invocation, it doesn't need to be reanal
|
||||
|
||||
## Visualizing the Project Graph
|
||||
|
||||
You can then visualize the project graph as described [here](/structure/dependency-graph). However, there is a cache that Nx uses to avoid recalculating the project graph as much as possible. As you develop your project graph plugin, it might be a good idea to set the following environment variable to disable the project graph cache: `NX_CACHE_PROJECT_GRAPH=false`.
|
||||
You can then visualize the project graph as described [here](/structure/dependency-graph). However, there is a cache that Nx uses to avoid recalculating the project graph as much as possible. As you develop your project graph plugin, it might be a good idea to set the following environment variable to disable the project graph cache: `NX_CACHE_PROJECT_GRAPH=false`. It might also be a good idea to ensure that the dep graph is not running on the nx daemon by setting `NX_DAEMON=false`, as this will ensure you will be able to see any `console.log` statements you add as you're developing.
|
||||
|
||||
## Example Project Graph Plugin
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user