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:
parent
6bb63c3bae
commit
9a9ecf27d4
1 changed files with 20 additions and 20 deletions
|
|
@ -6,7 +6,7 @@
|
|||
"scripts": {
|
||||
"build": "tsc --noEmit && concurrently \"cross-env INPUT=index.html vite build\" \"cross-env INPUT=sandbox.html vite build\"",
|
||||
"watch": "concurrently \"cross-env INPUT=index.html vite build --watch\" \"cross-env INPUT=sandbox.html vite build --watch\"",
|
||||
"serve": "bun serve.ts",
|
||||
"serve": "bun --watch serve.ts",
|
||||
"start": "cross-env NODE_ENV=development npm run build && npm run serve",
|
||||
"dev": "cross-env NODE_ENV=development concurrently \"npm run watch\" \"npm run serve\""
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue