Skip to content

Commit

Permalink
fix: setting HMR port (close: #582) (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
r3stm4n authored and ulivz committed Jun 14, 2018
1 parent 766b91a commit 64bb80d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ module.exports = async function dev (sourceDir, cliOptions = {}) {
host,
dev: { logLevel: 'warn' },
hot: {
port: port + 1,
port: parseInt(port) + 1,
logLevel: 'error'
},
logLevel: 'error',
Expand Down

0 comments on commit 64bb80d

Please sign in to comment.