Skip to content

Commit

Permalink
fix(ws): prevent port conflict on running multiple instances (#1721)
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Dec 1, 2022
1 parent ff2eddd commit 14ab287
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/module.ts
Expand Up @@ -244,7 +244,10 @@ export default defineNuxtModule<ModuleOptions>({
},
watch: {
ws: {
port: 4000,
port: {
port: 4000,
portRange: [4000, 4040]
},
hostname: 'localhost',
showURL: false
}
Expand Down

0 comments on commit 14ab287

Please sign in to comment.