9ecbf / pocketbase-typescript-hooks-template

A Bun template that supports building TypeScript hooks for your PocketBase application.
MIT License
3 stars 0 forks source link

Support watching changes for `bun dev` #1

Open Tuanm opened 1 year ago

Tuanm commented 1 year ago

Since bun run and bun build commands have been supporting the --watch flag [^1] for auto-reloading on every file change, it'll be more convenient if the PocketBase application gets restarted when our TypeScript hooks get modified during bun dev.

[1] https://bun.sh/docs/runtime/hot