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 not working properly #1490

Open
1 task done
darklight9811 opened this issue Jul 30, 2024 · 8 comments
Open
1 task done

Hot reload not working properly #1490

darklight9811 opened this issue Jul 30, 2024 · 8 comments
Labels

Comments

@darklight9811
Copy link

Describe the bug

Making change to some of the files don't trigger a hot reload, so I have to restart the terminal to get the changes on the file.

Link to the blitz that caused the error

https://stackblitz.com/edit/vitejs-vite-4xawxo?file=package.json,src%2Fmodules%2FApp%2Findex.tsx,src%2Flib%2Fquery.ts,src%2Fmodules%2Fscenes%2Factions.ts,src%2Fmodules%2FApp%2Fcomponents%2Fheader.tsx,src%2Fmodules%2FApp%2Fcomponents%2Fscenario.tsx

Steps to reproduce

  1. go to a react file
  2. make a change
  3. go to a non react file
  4. make a change

Expected behavior

For the changes to be visible on the browser

Parity with Local

Screenshots

No response

Platform

Browser name  = Firefox
Full version  = 128.0
Major version = 128
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
performance.memory = undefined
Hash = 41692973

Additional context

No response

@DrJKL
Copy link

DrJKL commented Jul 31, 2024

I'm getting the same issue with an Angular blitz, also Firefox 128.0

@DrJKL
Copy link

DrJKL commented Jul 31, 2024

Works in Chrome. (I suspect it's the firebase CORS issue)

@kirjavascript
Copy link
Member

hi! 👋 thanks for reporting this issue

this appears to work when I test it, could you take a look at the browser console and see if there are any errors that might be relevant and paste them here?

@darklight9811
Copy link
Author

@kirjavascript

image

The resource in “https://stackblitz.firebaseio.com/.lp?start=t&ser=75114529&cb=21&v=5” was blocked due it's header Cross-Origin-Resource-Policy (or lack of it). Consult https://developer.mozilla.org/docs/Web/HTTP/Cross-Origin_Resource_Policy_(CORP)#

@DrJKL
Copy link

DrJKL commented Aug 1, 2024

Same error here:

The resource at “https://stackblitz.firebaseio.com/.lp?start=t&ser=REDACTED&cb=36&v=5” was blocked due to its Cross-Origin-Resource-Policy header (or lack thereof). See https://developer.mozilla.org/docs/Web/HTTP/Cross-Origin_Resource_Policy_(CORP)# stackblitz-starters-swcvax
Loading failed for the <script> with source “https://stackblitz.firebaseio.com/.lp?start=t&ser=REDACTED&cb=36&v=5”.

@kirjavascript
Copy link
Member

I tested in Firefox 128 and it works here.

I get the same errors about not finding the source file, so I don't think it's related to that.

I don't get any of the firebase errors though. Could this be due to some firewall rules blocking it? Could you try from another net connection?

@BojanKogoj
Copy link

This is same as #1317

@kirjavascript
Copy link
Member

This is same as #1317

Thanks, I've associated the ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants