vuejs / vue-class-component

ES / TypeScript decorator for class-style Vue components.
MIT License
5.81k stars 429 forks source link

TypeScript, code inside of class component methods do not update on webpage until reloaded page #567

Open ghost opened 3 years ago

ghost commented 3 years ago

For reproduction, I used the vue/cli module TYpeScript, v3 vueclasscomponents Latest modules

When I update code in methods such as public mounted() {} The code does not update, so if the method contains: public mounted() { console.log("before Update") } Then i change it to public mounted() { alert("Hello") }

The changes do not take effect until the page is reloaded