latitude-dev / latitude

Developer-first embedded analytics
https://latitude.so
GNU Lesser General Public License v3.0
669 stars 26 forks source link

Hot-reload issue in wsl #406

Open vinith-kovan opened 3 weeks ago

vinith-kovan commented 3 weeks ago

Steps To Reproduce

Steps we can take to reproduce the issue you're seeing. Sample data is helpful.

Environment

Expected Behavior

Whenever changes made on code it should automatically reload the UI and shows the difference.

Actual Behaviour

Instead it is showing white screen, I will attach a recording FYA.

https://github.com/latitude-dev/latitude/assets/156108204/f8d2d17b-465c-4bc4-9edf-01c9f96b94a4

Workarounds

Anything you can do in advance of this being fixed?

No

geclos commented 3 weeks ago

@vinith-kovan thanks for reporting. To help us debug this I have some extra questions:

What changes to code are you doing in the video attached? Changing views or queries? does the app break when doing a harmless change, for example when you are just adding a piece of text to the html, does it break in this case?

vinith-kovan commented 2 weeks ago

@geclos Yes any kind of changes in view, queries and adding a piece of text, its breaking

geclos commented 2 weeks ago

@vinith-kovan I've been trying to reproduce your issue in WSL but I can't, could you provide a repo with the reproducible bug?