Subscribe on changes!

Vue server reloads on package update only once

avatar
Feb 25th 2022

Version

3.2.26

Reproduction link

github.com

Steps to reproduce

  1. git clone https://github.com/PashaTurok/vue3-test2
  2. add to package.json any library which version you can change, for example, from any local repo and use this library in your code.
  3. npm install
  4. npm run serve
  5. Server should start to work and everything is ok.
  6. Now modify your library and publish it to the local repo with new patch version
  7. in the test project npm update your-lib --registry http://...
  8. Server will update test project according to a new library package.
  9. Repeat step 6 and 7.
  10. Server WILL NOT update test project according to a new library package.

What is expected?

At step 10 server must update project again and do it after every npm update X command.

What is actually happening?

At step 10 server doesn't update deployed project.

avatar
Feb 25th 2022

That would then be problem with webpack, or at most Vue-cli. Not Vue.