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

maybe a bug of fast-refresh #6468

Closed
7 tasks done
hemengke1997 opened this issue Jan 12, 2022 · 7 comments
Closed
7 tasks done

maybe a bug of fast-refresh #6468

hemengke1997 opened this issue Jan 12, 2022 · 7 comments
Labels
documentation Improvements or additions to documentation pending triage

Comments

@hemengke1997
Copy link
Contributor

hemengke1997 commented Jan 12, 2022

Describe the bug

An error occurs when hmr are constantly triggered. I'm not sure if this is a fast-Refresh issue. Hope to get your answer, thank you very much!

Reproduction

https://github.com/hemengke1997/refresh-bug

Reproduction Step

  1. yarn && yarn dev
  2. constantly trigger hmr in src/Container.ts

System Info

System:
    OS: Windows 10 10.0.19043
    CPU: (6) x64 Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
    Memory: 1.11 GB / 15.87 GB
  Binaries:
    Node: 16.13.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.4 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 7.24.0 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (96.0.1054.62)
    Internet Explorer: 11.0.19041.1202
  npmPackages:
    @vitejs/plugin-react: ^1.0.7 => 1.1.4
    vite: ^2.7.2 => 2.7.10

Used Package Manager

yarn

Logs

No response

Validations

@frog-o
Copy link

frog-o commented Feb 20, 2022

I also have this type of problem with vue and vite-ssr plugin. Could you tell me how you know which file is causing the reload? I was tiring to use Vites-ssr plugin and use there scaffolding template. It is also contently refresh. I tried writing to Vites-ssr plugin about this and they closed the issue saying it is a vite problem without much investigation. I am very annoyed how people balm one another about problems but don't work on the problems. No mater who is to balm it is still an unpleasant user experience for people using there product. I also using yarn i don't know why. I was trying to enable PNP but it didn't work and I wrote them about it and they told me I have to make a better test case. I give up.

@bluwy
Copy link
Member

bluwy commented Apr 3, 2022

An error occurs when hmr are constantly triggered

Can you show what the error is? I don't see any errors when testing out the repro

@frog-o
Copy link

frog-o commented Apr 4, 2022 via email

@bluwy
Copy link
Member

bluwy commented Apr 4, 2022

Perhaps we can document this then. I know there has been friction for some users who use Vite inside Docker, and it would be nice to have an official guide on how to set it up. Feel free to contribute if you like!

@bluwy bluwy added the documentation Improvements or additions to documentation label Apr 4, 2022
@frog-o
Copy link

frog-o commented Apr 16, 2022 via email

@sapphi-red
Copy link
Member

@bluwy Should this issue be closed as websocket error will be shown by #7111 and docker documentation is tracked at #4116?

@bluwy
Copy link
Member

bluwy commented May 20, 2022

Make sense 👍

@bluwy bluwy closed this as completed May 20, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jun 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation pending triage
Projects
None yet
Development

No branches or pull requests

5 participants