vlcn-io / js

Components to build apps in JavaScript atop cr-sqlite
MIT License
51 stars 6 forks source link

vite-starter: Do not require restarting the server on schema modification #30

Open tantaman opened 1 year ago

tantaman commented 1 year ago

Schema modifications are applied on the client on refresh but requires updating the server. This is a bit annoying to say the least.

tantaman commented 10 months ago

We'll need to watch schema files and tear down websocket connections when they change. The client will automatically re-create the connection which will apply the migration.