feat(sublime pkgs): use local cache of pkgs
- Sublime Package Control can run rampant with
    memory usage when installing 50+ new packages
    all at once, so prime it with a local cache instead
    of expecting everything to install on first startup
 - This also prevents all sorts of Sublime error dialogs
    as package setings are present, but packages may
    not exist yet
			
			
This commit is contained in:
		@@ -49,6 +49,8 @@ try {
 | 
			
		||||
  ([IO.File]::ReadAllText($grunt)) -replace '{{node_path}}', $escapedNodeRoot |
 | 
			
		||||
    Out-File -FilePath (Join-Path $sublimeUserDataPath $gruntFileName) -Force -Encoding ASCII
 | 
			
		||||
 | 
			
		||||
  $packageCache = Join-Path (Get-CurrentDirectory) 'PackageCache'
 | 
			
		||||
  Install-SublimePackagesFromCache -Directory $packageCache
 | 
			
		||||
  Install-SublimePackageControl
 | 
			
		||||
  $packageControl = (Join-Path $current 'Package Control.sublime-settings')
 | 
			
		||||
  Merge-PackageControlSettings -FilePath $packageControl
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user