W
Wasp•4mo ago
Yumyum

hot reload

When i do changes the compiler compiles but nothing happens on the page so i have to stop stop the program and recompile all the time (I'm using windows)
9 Replies
kapa.ai
kapa.ai•4mo ago
Hi @Yumyum. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave: ---------------------- This issue is common when developing with Wasp on Windows, especially if you are using WSL2 and your project files are stored on the Windows filesystem (e.g., under /mnt/c/). In this setup, file changes are often not detected, so hot reloading does not work as expected. This is a known limitation of WSL2, not Wasp itself. Solution:
Move your Wasp project files to the Linux filesystem (e.g., somewhere under /home/your-username/). This allows WSL2 to properly detect file changes, and hot reloading should work as intended. You do not need to use a Linux-based editor; you can still use your preferred editor from Windows, but the project files must reside on the Linux side for hot reload to function correctly. For more details, see the discussion and workaround here: File changes not detected by wasp start in WSL2 when using the Windows filesystem. If you need a step-by-step guide for Wasp development on Windows with WSL, check out this article: Guide: Windows development with Wasp & WSL (as referenced in community discussions). Summary:
- Move your project to the Linux filesystem in WSL2. - Run wasp start from there. - Hot reload should now work automatically when you make changes. Let me know if you need help moving your project or have further questions! ---------------------- Note: you can ask me a follow up question by @ mentioning me again :speech_balloon: ---------------------- Sorry @Yumyum, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist: Perhaps try again in 15mins?
toticozeni
toticozeni•4mo ago
Hey @Yumyum did you manage to solve it?
Captain Incredible
Captain Incredible•3mo ago
i've got the same issue
toticozeni
toticozeni•3mo ago
Hey @Captain Incredible, are you also on the windows?
Captain Incredible
Captain Incredible•3mo ago
Yeah
toticozeni
toticozeni•3mo ago
Did you follow the instructions by kapa.ai above? You need to make sure that your Wasp project is not on Windows file system, but instead on Linux file system. Otherwise, Wasp won't be able to detect file changes, due to the issue in WSL2. If you did follow the above and you still have the issue I would open up a new thread in the #đŸ™‹questions, since it is possibly as new issue.
Captain Incredible
Captain Incredible•3mo ago
That's would be the issue
toticozeni
toticozeni•3mo ago
Do you need any additional help with it? Or did that help?
Captain Incredible
Captain Incredible•3mo ago
this is solved'

Did you find this page helpful?