spinspire / pocketbase-sveltekit-starter

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

Reload pocketbase on JavaScript code changes #24

Closed Bewalticus closed 1 year ago

Bewalticus commented 1 year ago

correctly handle JavaScript hooks and migrations in development environment

jkdoshi commented 1 year 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 1 year 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.