Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hot reload doesn't reflect changes in <script> #607

Closed
4 tasks done
tomexx opened this issue Aug 3, 2021 · 2 comments
Closed
4 tasks done

Hot reload doesn't reflect changes in <script> #607

tomexx opened this issue Aug 3, 2021 · 2 comments
Labels
Status: Review Needed Request for review comments

Comments

@tomexx
Copy link

tomexx commented Aug 3, 2021

Reporting a bug?

After migration to Vue3 the project stopped to properly hot-reload changes in <script> part of the SFCs. When stripped out the project to the bare minimum I realized it is cused by vue-i18n package (I'm using 9.2.0-beta.1). If I remove the vue-i18n the app hot-reloads properly.

Expected behavior

Hot-reloading working correctly (reflecting also changes in <script> part of the SFC)

Reproduction


System Info

System:
    OS: Windows 10 10.0.19043
    CPU: (12) x64 AMD Ryzen 5 3600 6-Core Processor
    Memory: 41.82 GB / 63.95 GB
  Binaries:
    Node: 14.17.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.10 - C:\Program Files\nodejs\yarn.CMD
    npm: 6.14.13 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1023.0), Chromium (92.0.902.62)
    Internet Explorer: 11.0.19041.1
  npmPackages:
    vue: ^3.1.4 => 3.1.4
    vue-i18n: 9.2.0-beta.1 => 9.2.0-beta.1

Screenshot

No response

Additional context

No response

Validations

@tomexx tomexx added the Status: Review Needed Request for review comments label Aug 3, 2021
@PeterAlfredLee
Copy link
Member

@tomexx
Seems issue is duplicate to #568, it is caused by vue-next.
See also vue-next issue #4174.
You can fix this by upgrade vue-next version to 3.2.0-beta.5 or later.
Hope this helps.

@kazupon
Copy link
Member

kazupon commented Aug 11, 2021

Closing due to inactivity.
Please open a new issue with a reference to this one if you can follow up with more information.

Thanks!

@kazupon kazupon closed this as completed Aug 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Review Needed Request for review comments
Projects
None yet
Development

No branches or pull requests

3 participants