Skip to content

Commit

Permalink
refactor: remove hardcoded hmr port
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien-R44 committed Jun 2, 2024
1 parent 859ec25 commit b5e8170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vite.ts
Original file line number Diff line number Diff line change
Expand Up @@ -422,7 +422,7 @@ export class Vite {
* slow down the boot process of AdonisJS
*/
this.#createServerPromise = createServer({
server: { middlewareMode: true, hmr: { port: 3001 } },
server: { middlewareMode: true },
appType: 'custom',
...options,
})
Expand Down

0 comments on commit b5e8170

Please sign in to comment.