Package that is linked with npm link doesn’t update

Had similar problem with linked package – npm link dep was picking up old version of “dep”.

Running npm link (again) in “dep” folder solved the problem. Theoretically it should be called only once, but for some reason it gets out of sync sometimes.

Thus in order to reliably update linked project, execute these steps after each change:

  1. Rebuild linked project
  2. run npm link
  3. In host project run npm link dep

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)