Vite reports valid error (routes) on wasp start
start, but not on wasp start
reload.
#2333
Labels
shouldfix
We should do/fix this at some point
This happened while I was testing TS SDK.
In main.wasp.ts, if you make one of default imports named import (e.g. for
client
), and then runwasp start
, Vite reports error in the CLI, that import is invalid.But, if I do that after I have already run
wasp start
, there is no error reported in the CLI, instead it all reloads as if all was ok.How is that, is that expected behaviour? I would expect the same behaviour but maybe this is how our Vite is configured and there is a reason behind it? I should also confirm this is not TS SDK specific thing but I don't think it is.
@infomiho you might have some ideas.
The text was updated successfully, but these errors were encountered: