Skip to content

Commit c5afc1b

Browse files
committed
Revert "fix: setting HMR port (close: #582) (#586)"
- Revert is because there is a better solution at #590 This reverts commit 64bb80d.
1 parent 15235b4 commit c5afc1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: 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: parseInt(port) + 1,
105+
port: port + 1,
106106
logLevel: 'error'
107107
},
108108
logLevel: 'error',

0 commit comments

Comments
 (0)