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 reloading doesn't work even in the reference example #1016

Open
dannylin108 opened this issue Nov 25, 2024 · 5 comments
Open

hot reloading doesn't work even in the reference example #1016

dannylin108 opened this issue Nov 25, 2024 · 5 comments
Labels
help wanted Extra attention is needed

Comments

@dannylin108
Copy link

I used npm create waku@latest reference example, but hot reloading of client component doesn't work..

This is the repo https://stackblitz.com/~/github.com/dannylin108/waku-starter

vokoscreenNG-2024-11-25_16-07-04.mp4
@dai-shi
Copy link
Owner

dai-shi commented Nov 25, 2024

Thanks for reporting.

It can repro with stackblitz sandbox too: https://stackblitz.com/edit/github-hwngcz?file=src%2Fcomponents%2Fcounter.tsx,src%2Fpages%2Findex.tsx

It seems to work with the local machine, so this looks like an issue with StackBlitz. I think it worked once at some point with StackBlitz.
I need someone to help looking into this.

@dai-shi dai-shi added the help wanted Extra attention is needed label Nov 25, 2024
@dai-shi
Copy link
Owner

dai-shi commented Nov 25, 2024

v0.21.2...v0.21.3
there are so many commits.

@dai-shi
Copy link
Owner

dai-shi commented Nov 25, 2024

working v0.21.2 + #935: breaks
working v0.21.2 + #932: breaks
working v0.21.2 + #925: breaks
working v0.21.2 + #919: breaks
working v0.21.2 + #903: works
working v0.21.2 + #901: works
working v0.21.2 + #916: works
working v0.21.2 + #918: breaks

that's impossible. #918 doesn't change anything. 😕

c110fe1...74c5a6b actually includes #886?

working v0.21.2 + #886: breaks
working v0.21.2 + #914: works

34d2c08...20a4dfc should include the regression.

I think it's #886. Can @tylersayshi look into it please?

@dai-shi
Copy link
Owner

dai-shi commented Nov 25, 2024

It seems to work with the local machine

That's my oversight. It looked working, but it wasn't hot reload. It was force reload. It still behaves different for me from the StackBlitz case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants