wasp-lang / wasp

The fastest way to develop full-stack web apps with React & Node.js.
https://wasp-lang.dev
MIT License
12.75k stars 1.14k forks source link

Make Wasp more robust (fewer `wasp clean` calls) #2028

Open sodic opened 1 month ago

sodic commented 1 month ago

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 :)

Martinsos commented 1 month ago

Tangentially related to #1971 .

Martinsos commented 1 month ago

Here is situation in Discord where wasp clean was needed: https://discord.com/channels/686873244791210014/1239979274879111330/1239979274879111330 . It was caused by reinstalling dependencies.