From 64bb80d91a854ec02725d4dbcdaeb99a9bfa8a77 Mon Sep 17 00:00:00 2001 From: r3stm4n Date: Thu, 14 Jun 2018 14:58:20 +0200 Subject: [PATCH] fix: setting HMR port (close: #582) (#586) --- lib/dev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dev.js b/lib/dev.js index 150971d58d..05828efa0d 100644 --- a/lib/dev.js +++ b/lib/dev.js @@ -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',