Changes are not updated in real time and app breaks

I am using wsl (Ubuntu) with redis on linux. When the code is updated, it is not reflected in the website and frontend stops working. I tried running server and client seperatly but every time there's a change the client stops runnning. Why is it?
12 Replies
charles
charles3mo ago
Hi @Hitarth Sheth how much RAM do you have on your linux VM?
Hitarth Sheth
Hitarth ShethOP3mo ago
8gb
charles
charles3mo ago
on the VM right? not your windows host?
Hitarth Sheth
Hitarth ShethOP3mo ago
Its wsl ubuntu My windows has 8gb
charles
charles3mo ago
ok but how much do you have on your ubuntu?
Hitarth Sheth
Hitarth ShethOP3mo ago
As far as I know, when using WSL it uses windows resources so it will be the same as windows ram
charles
charles3mo ago
Limiting Memory Usage in WSL2 | Aleksandr Hovhannisyan
By default, WSL 2 may reserve a significant chunk of your host RAM. Thankfully, we can limit its memory usage with a .wslconfig file.
Hitarth Sheth
Hitarth ShethOP2mo ago
Let me try increasing the memory usage! Hey @charles I tried increasing the memory usage it fixed the server breaking problem. But, when the code changes it is not reflected in the browser. It's the same issue as @Anchit1909 (https://discord.com/channels/1130383047699738754/1130386664812982322/threads/1174273597632675851) And @Rick⚡ (https://discord.com/channels/1130383047699738754/1130386664812982322/threads/1293295960038052030)
charles
charles2mo ago
Hi @Hitarth Sheth do you still need help here? could you monitor your RAM usage and tell me if you have enough now? you can add VITE_DISABLE_TYPESCRIPT_CHECKER=true VITE_DISABLE_ESLINT_CHECKER=true to your .env in packages/twenty-front, this will disable some tooling which is very ram expansive
Hitarth Sheth
Hitarth ShethOP2mo ago
Hey @charles its sorted now. Disabled the type checks and ran the BE on docker. Thanks for your help
charles
charles2mo ago
perfect sorry about the slow answer, release 0.32 was VERY challenging!
Hitarth Sheth
Hitarth ShethOP2mo ago
No problem. Congrats on the release.
Want results from more Discord servers?
Add your server