Quantcast
Channel: Node.js Tools for Visual Studio
Viewing all articles
Browse latest Browse all 4630

Edited Feature: Global packages list not updated immediately if package is installed using CLI [557]

$
0
0
Installing a package globally via the CLI does not update the global package list in the NPM Package Management dialog.

For example, consider the following ```packages.json```

```
{
...
"scripts": {
"preinstall": "npm i -g somepackage",
}
...
}
```

If I trigger my package deployment via the CLI i.e. ```npm install```, and open the manage packages dialog I don't see ```somepackage``` in the global packages list. If I restart VS the package then the package appears.

Very minor defect but thought it was worth mentioning!

Viewing all articles
Browse latest Browse all 4630

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>