Open stepbeta opened 7 years ago
Some related issues and PR I could find: #208, #177.
I am experiencing this with .vue files of this sort:
<script src="./blah.js"></script> <template><div>something</div></template>
If I modify something in the .js file nothing happens, but if I modify the .vue file then it's all recompiled. What's worse is that it seems that the versions of the two files are kept in "sync".
I.e. v1
export default { data() { return { text: 'hello' }; } };
<template><div>{{ text }}</div></template>
When I run this I see on screen "hello", that's fine. Now, v2
export default { data() { return { text: 'hello there' }; } };
On screen I still have "hello", nothing changed. So, I change something in the .vue file
<template> <div>{{ text }}</div> </template>
Now I've got "hello there" on screen, fine.
If I now revert modifications to the .vue file, then also the .js file will be reverted (not on disk, but on what's compiled).
Some related issues and PR I could find: #208, #177.
I am experiencing this with .vue files of this sort:
If I modify something in the .js file nothing happens, but if I modify the .vue file then it's all recompiled. What's worse is that it seems that the versions of the two files are kept in "sync".
I.e. v1
When I run this I see on screen "hello", that's fine. Now, v2
On screen I still have "hello", nothing changed. So, I change something in the .vue file
Now I've got "hello there" on screen, fine.
If I now revert modifications to the .vue file, then also the .js file will be reverted (not on disk, but on what's compiled).