We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa8dc5d commit 8db8960Copy full SHA for 8db8960
src/AssetsBundler/index.ts
@@ -233,7 +233,7 @@ export class AssetsBundler extends Emittery {
233
*/
234
let customPort = this.findCustomPort()
235
if (!customPort) {
236
- const randomPort = await getPort({ port: 8080 })
+ const randomPort = await getPort({ port: 8080, host: 'localhost' })
237
customPort = String(randomPort)
238
this.encoreArgs.push('--port', customPort)
239
}
0 commit comments