Do not call Project.reinit from commandline
reinit is called directly when Project is instantiated. It calls PackageManager.refresh, which re-reads all packages stored in the package directory. If we want to make dub smarter and faster, we need to stop scanning all the packages on disk when we have a resolved dependency tree, and move to a lazy/on-demand approach. The first step would be to remove this call. See also #2388. |
---|
|
source/dub/commandline.d |
---|