How do you scale a #monorepo approach (with #Nx) in your IDE. If I have a huge amount of apps and libs, how can I even open that without crashing my IDE (as fe @WebStormIDE indexes al files). Do you do partial checkouts, work with git submodules, exclude directories in the IDE?
-
Show this thread
-
Replying to @KwintenP
Hi, can you please tell us a bit more about your project and the crashes? The IDE logs would also be very helpful to see what's going on. For any project, we recommend excluding the folders that contain generated or non-project code- right-click on the folder and mark as excluded
1 reply 1 retweet 3 likes -
Replying to @WebStormIDE @KwintenP
For bigger projects, we also recommend increasing the heap size for the IDE - for that you need to edit the -xmx value as described here: https://intellij-support.jetbrains.com/hc/en-us/articles/206544869-Configuring-JVM-options-and-platform-properties … Try 2GB - that's the value many of us use to work with the IntelliJ and WebStorm sources.
2 replies 0 retweets 1 like
By the way, can you please check that the node_modules folders are maked as library roots in the project view? They should be automatically, but might not be if there's no package.json next to them...
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.