From 1de2a2bdbc929ece542cc29a0fd9144532d365eb Mon Sep 17 00:00:00 2001 From: Tom Greenfield Date: Tue, 10 Nov 2020 14:37:56 +0000 Subject: [PATCH] Convert port string to number --- grunt/config/connect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grunt/config/connect.js b/grunt/config/connect.js index 10888e94d..d5768cc0f 100644 --- a/grunt/config/connect.js +++ b/grunt/config/connect.js @@ -1,6 +1,6 @@ module.exports = function(grunt, options) { - var port = grunt.option('port') || 9001; + var port = parseInt(grunt.option('port')) || 9001; var host = grunt.option('host') || 'localhost'; return {