wasp
wasp copied to clipboard
Make Wasp more robust (fewer `wasp clean` calls)
This is a very, very high-level issue, but...
Most of our troubleshooting begins by telling the user: Did you run wasp clean?
This indicates low trust in wasp start and Wasp's handling of runtime changes. We should strive to reach a point where the suggestion of running wasp clean is as unreasonable as TS devs suggesting "Did you try deleting the dist folder."
This is, of course, a lot of non-obvious work, but the issue pops out all the time, and I had to document the it somewhere :)
Tangentially related to #1971 .
Here is situation in Discord where wasp clean was needed: https://discord.com/channels/686873244791210014/1239979274879111330/1239979274879111330 .
It was caused by reinstalling dependencies.
Another use mentioning this as a problem: https://discord.com/channels/686873244791210014/1287813207297359987/1289291579206668298
Another one: https://discord.com/channels/686873244791210014/1289650697494728787/1290327971852189749