Skip to content

Commit

Permalink
add hot hook
Browse files Browse the repository at this point in the history
  • Loading branch information
jarle committed Apr 19, 2024
1 parent 7a599d3 commit b8df59a
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 3 deletions.
25 changes: 25 additions & 0 deletions package-lock.json

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

18 changes: 15 additions & 3 deletions packages/reference-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"start": "node bin/server.js",
"build": "node ace build",
"dev": "node ace serve --watch",
"dev": "node ace serve --unstable-hmr",
"test": "node ace test",
"lint": "eslint .",
"format": "prettier --write .",
Expand Down Expand Up @@ -40,6 +40,7 @@
"@types/react": "^18.2.78",
"@types/react-dom": "^18.2.25",
"eslint": "^8.57.0",
"hot-hook": "^0.2.0",
"pino-pretty": "^10.3.1",
"prettier": "^3.2.5",
"ts-node": "^10.9.2",
Expand Down Expand Up @@ -73,5 +74,16 @@
"eslintConfig": {
"extends": "@adonisjs/eslint-config/app"
},
"prettier": "@adonisjs/prettier-config"
}
"prettier": "@adonisjs/prettier-config",
"hotHook": {
"boundaries": [
"./app/controllers/**/*.ts",
"./app/middlewares/*.ts"
],
"ignore": [
"node_modules/**",
"resources/remix_app/**",
"vite.config.ts.timestamp*"
]
}
}

0 comments on commit b8df59a

Please sign in to comment.