spinspire / pocketbase-sveltekit-starter

a starter project to build a SvelteKit frontend with PocketBase backend
MIT License
304 stars 54 forks source link

Reload pocketbase on JavaScript code changes #24

Closed Bewalticus closed 10 months ago

Bewalticus commented 10 months ago

correctly handle JavaScript hooks and migrations in development environment

jkdoshi commented 10 months ago

@Bewalticus , I believe pocketbase already restarts when pb_hooks/*.pb.{j|t}s files change. Is that not true? That's been my experience.

Bewalticus commented 10 months ago

@jkdoshi, thank you for the advice. I did not recognize this behavior yet but thought the files were missing in the restart configuration somehow. Will close the PR.