I made a SvelteKit project but what I don't understand is how to work with D1 in development. I woul

I made a SvelteKit project but what I don't understand is how to work with D1 in development. I would ideally like to start the SvelteKit app normally (
pnpm dev
) to quickly iterate on the UI, but have D1 accessible like I would by having a development docker image of a remote database. Currently I can only have a functioning version of my app when building the ui and then starting wrangler pages dev .svelte-kit/cloudflare (but since it relies on a build, I would have to re-run the command after every change to have a functioning app in development). What am I missing?
Was this page helpful?