Skip to content

Commit

Permalink
chore: add hot-hook for hmr
Browse files Browse the repository at this point in the history
AdrianAndersen committed Jan 31, 2025

Verified

This commit was signed with the committer’s verified signature.
battery-staple Rohen Giralt
1 parent a28838d commit 0893810
Showing 2 changed files with 123 additions and 1 deletion.
9 changes: 8 additions & 1 deletion backend/package.json
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@
"license": "UNLICENSED",
"type": "module",
"scripts": {
"dev": "node ace serve --watch",
"dev": "node ace serve --hmr",
"tuyau": "NODE_ENV=test node ace tuyau:generate",
"typecheck": "pnpm tuyau && pnpm exec tsc --noEmit",
"test": "NODE_ENV=test tsx bin/test",
@@ -90,10 +90,17 @@
"@types/validator": "^13.12.2",
"chai": "^5.1.2",
"chai-as-promised": "^8.0.1",
"hot-hook": "^0.4.0",
"pino-pretty": "^13.0.0",
"sinon": "^19.0.2",
"sinon-chai": "^4.0.0",
"ts-node-maintained": "^10.9.5",
"tsx": "^4.19.2"
},
"hotHook": {
"boundaries": [
"./app/controllers/**/*.ts",
"./app/middleware/*.ts"
]
}
}
115 changes: 115 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 0893810

Please sign in to comment.