I am customizing the SaaS template
Good day to everyone, I am customizing the SaaS template and every changes made I have to restart the database and the development server to reflect the changes, why?
5 Replies
Hi @Navita. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
Based on the knowledge sources provided, it appears that you're experiencing an issue with hot reloading in your Wasp project using the SaaS template. This is a known problem that several users have reported. Let me explain what's happening and what we currently know about this issue:
1. Hot reloading should work for Vite + React apps in Wasp, but there seems to be a bug that causes the entire app to rebuild and reload after UI changes, instead of just applying the changes instantly.
2. This issue has been reported by multiple users and seems to affect both the SaaS template and basic Wasp projects.
3. The Wasp team is aware of this problem and considers it a potential bug that might have been introduced with version 0.12.
Discord support thread: Possibility to disable wasp reload on UI file changes? (https://discord.com/channels/686873244791210014/1223304305206099969) mentions that users are experiencing full page reloads shortly after seeing their changes applied, which disrupts the workflow and can be annoying, especially when working with input-based data or making quick UI adjustments.
Unfortunately, there isn't a direct solution provided in the knowledge sources to fix this issue at the moment. The Wasp team is investigating the problem, but for now, you may need to continue restarting the development server to see your changes reflected.
If you'd like to help the Wasp team investigate this issue further, you could consider sharing a minimal reproducible example of your project or providing more details about your specific setup.
It's worth noting that this behavior is not intended, and the Wasp team is working on improving the development experience. Keep an eye on future Wasp updates, as they may include fixes for this hot reloading issue.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Navita, 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?
Are you using Windows and WSL2?
If you are please check instructions here https://wasp-lang.dev/docs/quick-start#installation-1, under Windows.
Quick Start | Wasp
Installation
yes I am using windows and wsl.
I am also using cursor ai ide
Wohooo @Navita, you just became a Waspeteer level 2!