Closed ListenV closed 1 year ago
I need more info. Was it working on a previous version? Can you share a repo that I can reproduce the error on?
I'm so sorry. the repo file: demo-vue.zip and video:
No worries! Thanks for the info. I'll try and get to it this weekend... But the new Zelda game is out so we'll see lol.
No worries! Thanks for the info. I'll try and get to it this weekend... But the new Zelda game is out so we'll see lol. 🥲
@ListenV I cannot reproduce with the ZIP you sent me on mac.
That makes me think your version of Chrome is not above v110. HMR requires chrome v110 or above. Can you share your chrome version as well? I only see edge in the issue description. Right clicking and inspecting your popup's console would also be helpful to diagnose the problem.
If you want to test on Edge instead of Chrome, you can set the chromiumBinary
path in your .webextrc.yml
file:
# ~/.webextrc.yml
chromiumBinary: C:\path\to\edge.exe
@aklinker1 I had the same problem, it seemed like it didn't compile after saving the file.
@codingyu Are you able to share your code and your browser version?
@aklinker1 New project created per docs(vue-js)
Win11 node v16.14.0 Chrome Version 113.0.5672.127 (Official Build) (64-bit)
@codingyu Not seeing any issues with the vue-js
template either. Can you share a screenshot of the popup's console, with verbose logs enabled?
Maybe it's a windows issue? I'll try it out later today on windows, I don't use my windows computer often.
I am like @codingyu, and there are no errors displayed in the popup's console.
My Chrome Version is 113.0.5672.127
(Official Build) (64-bit). It's latest already and above v110.
Win11 Google Chrome Version: 113.0.5672.127 (Official Build) (64-bit) Node: v18.16.0 Vite: 4.3.8 Vue: 3.3.4 vite-plugin-web-extension: "3.0.8"
Ok, I tried it out on windows, and it's not working. I'll get it fixed
@aklinker1 It seems broken again. Even the project is default state, created by using pnpm create vite-plugin-web-extension
Windows 11 22H2 22621.1992 Lang: ko-KR Line Endings: LF Chrome 114.0.5735.199 (64 bit)
@Honsal thanks for sharing, I'll test it out again in a bit.
UserOptions.additionalInputs
are also not working. it rendered well, but HMR is not working.content_scripts
related source file will reload extension But although extensions is reloaded, changes of default_popup
and UserOptions.additionalInputs
are not applied. Only changes of content_scripts
is applied.background.service_worker
related sources' results are similar. HMR of background scripts work well unlike popup or additional inputs, BUT no other things updated.chrome:extensions
page, changes are not applied.If there's weird sentences so you cannot easily understand, please tell me. I am not native so i will pick some translator.
Summary
When I modified the code, the page didn't change at all in DEV mode.
Watch mode is the same as well.
Or is it my fault?
My browser is Google Chrome and the version is
113.0.5672.93
.Environment