How to get latest changes from Github hosted npm package

Viewed 10

I installed a package directly from Github to a local project of mine using npm install <myuser>/<mygithubrepo>.

Updates have since been merged into <mygithubrepo> and I would like to have the changes in my local project.

When I run a general npm install I don't get the latest changes despite it being listed as a dependency in my package.json file.

It seems I have to run the full command npm install <myuser>/<mygithubrepo> everytime.

Is there a way around this?

0 Answers
Related