Skip to content

Commit 64bb80d

Browse files
r3stm4nulivz
authored andcommitted
fix: setting HMR port (close: #582) (#586)
1 parent 766b91a commit 64bb80d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dev.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module.exports = async function dev (sourceDir, cliOptions = {}) {
102102
host,
103103
dev: { logLevel: 'warn' },
104104
hot: {
105-
port: port + 1,
105+
port: parseInt(port) + 1,
106106
logLevel: 'error'
107107
},
108108
logLevel: 'error',

0 commit comments

Comments
 (0)