meteor-vue / vue-meteor

🌠 Vue first-class integration in Meteor
897 stars 111 forks source link

VS Code - page reloading after save, HRM fail #291

Closed MartinBucko closed 5 years ago

MartinBucko commented 6 years ago

I'm facing weird problem with Visual Studio Code Editor. After save .vue file HRM don't update code, but instead app is rebuilded and page is reloaded. If i edit same file in sublime or by Chrome local file it works like i expected and code is update without page reload. I'm try also run vscode without extensions to check if some extensions don't save edited file twice with command code --disable-extensions ./src/imports/ui/Home.vue

Behavior was confirmed on actual vue-meteor-demo project.

Linux Ubuntu 17.10 - VS Code v1.19.2

Akryum commented 5 years ago

I can't reproduce with my VS Code on elementary loki.

mathieustan commented 5 years ago

It's an HRM issue from vue-component and more precisely from vue-component-dev-client. When you change anything from a vue component or any js files which are imported to a component, it'll rebuild/reload app.

cf: https://github.com/meteor-vue/vue-meteor/issues/348

Akryum commented 5 years ago

Should be fixed in latest release.