You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And everything works (even when built and deployed).
Gotchas:
Hot reloading on the server doesn't work for the tsx file (i.e,. the server ignores changes).
This probably happens because we're not watching .tsx files.
As of Wasp 0.12.0-ish, we can mix client and server code in the same file.
For example, the
main.wasp
can have this:The
src/api.tsx
file can contain this:And everything works (even when built and deployed).
Gotchas:
tsx
file (i.e,. the server ignores changes).This probably happens because we're not watching
.tsx
files.The text was updated successfully, but these errors were encountered: