From 58494af3d1b4a0500c405f95e9a310ddd183c4bd Mon Sep 17 00:00:00 2001 From: Spencer Alger Date: Tue, 12 Nov 2013 16:31:36 -0700 Subject: [PATCH] added simpler specification of the host and port for the browser tests --- Gruntfile.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 21b0f2006..984ee5275 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -234,8 +234,8 @@ module.exports = function (grunt) { * This is run in the default and browser_tests:{{browser}} tests. */ grunt.registerMultiTask('open_browser_tests', function () { - var host = process.env.ES_HOST || 'localhost'; - var port = process.env.ES_PORT || 9200; + var host = grunt.option('host') || 'localhost'; + var port = grunt.option('port') || 9200; var taskData = this.data; grunt.task.requires([