feat(examples): add --watch to bun serve commands for auto-restart, and have npm start hit dev mode of all examples (#246)

* feat(examples): add --watch to bun serve commands for auto-restart on file changes

* Update package.json

* regen
This commit is contained in:
Olivier Chafik 2026-01-12 22:17:12 +00:00 • committed by GitHub
commit 9a9ecf27d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -45,7 +45,7 @@
],
"scripts": {
"postinstall": "node scripts/setup-bun.mjs || echo 'setup-bun.mjs failed or not available'",
"start": "npm run examples:start",
"start": "npm run examples:dev",
"generate:schemas": "tsx scripts/generate-schemas.ts && prettier --write \"src/generated/**/*\"",
"build": "npm run generate:schemas && node scripts/run-bun.mjs build.bun.ts",
"prepack": "npm run build",