vuejs / devtools-v6

⚙️ Browser devtools extension for debugging Vue.js applications.
https://devtools-v6.vuejs.org/
MIT License
24.67k stars 4.15k forks source link

vue-devtools won't update when store.replaceState() is called manually #690

Open miaulightouch opened 6 years ago

miaulightouch commented 6 years ago

Version

4.1.4

Browser and OS info

Chrome 65 / Windows 10

Steps to reproduce

  1. expose the store to window
  2. execute like below manually
    window.store.replaceState({/* object content */})
  3. vue-devtools got no update

What is expected?

it should update the state info.

What is actually happening?

nothing happened.

bartlomieju commented 6 years ago

This is caused by Vuex not running subscribers during replaceState. I think this issue should be moved to Vuex repo.

miaulightouch commented 6 years ago

so I have to file same issue in vuex repo?