How to use --persist-to flag when starting local FE with e.g., vite dev?
I have a monorepo where a number of packages share the same D1, KV, etc. For local DX it would be great to be able to create one local version and reuse it across all packages.
This is achievable when starting local Workers etc by appending the
--persist-to ../path/here
--persist-to ../path/here
flag to
wrangler dev
wrangler dev
.
Is there an equivalent way to point my frontend to the persisted resource? I.e., start the SvelteKit dev server (via
vite dev
vite dev
) and have it use the persisted resource instead of create another