Skip to content

Commit

Permalink
feat: pass onHttpServerMessage hook from rcFile to assembler DevServer
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Mar 31, 2024
1 parent 8fb5b6f commit 82ecae3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions commands/serve.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ export default class Serve extends BaseCommand {
hooks: {
onDevServerStarted: this.app.rcFile.unstable_assembler?.onDevServerStarted,
onSourceFileChanged: this.app.rcFile.unstable_assembler?.onSourceFileChanged,
onHttpServerMessage: this.app.rcFile.unstable_assembler?.onHttpServerMessage,
},
})

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"index:commands": "node --loader=ts-node/esm toolkit/main.js index build/commands"
},
"devDependencies": {
"@adonisjs/assembler": "^7.3.0",
"@adonisjs/assembler": "^7.4.0",
"@adonisjs/eslint-config": "^1.3.0",
"@adonisjs/prettier-config": "^1.3.0",
"@adonisjs/tsconfig": "^1.3.0",
Expand Down Expand Up @@ -118,7 +118,7 @@
},
"dependencies": {
"@adonisjs/ace": "^13.0.0",
"@adonisjs/application": "^8.1.0",
"@adonisjs/application": "^8.2.1",
"@adonisjs/bodyparser": "^10.0.1",
"@adonisjs/config": "^5.0.1",
"@adonisjs/encryption": "^6.0.1",
Expand Down

0 comments on commit 82ecae3

Please sign in to comment.