From 6263b822a3704f108d40d9a00fe7cf0f14730d06 Mon Sep 17 00:00:00 2001 From: Brittany Storoz Date: Tue, 21 Oct 2014 13:13:39 -0400 Subject: [PATCH] Run `grunt test` on port 9001 This will prevent any conflicts if the user's app is already running on port 9000. --- app/templates/Gruntfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/templates/Gruntfile.js b/app/templates/Gruntfile.js index 3626416..10ac6d8 100755 --- a/app/templates/Gruntfile.js +++ b/app/templates/Gruntfile.js @@ -81,7 +81,8 @@ module.exports = function (grunt) { mountFolder(connect, 'test'), mountFolder(connect, '.tmp') ]; - } + }, + port: 9001 } }, dist: { @@ -128,7 +129,7 @@ module.exports = function (grunt) { all: { options: { run: true, - urls: ['http://localhost:<%%= connect.options.port %>/index.html'] + urls: ['http://localhost:<%%= connect.test.options.port %>/index.html'] } } },<% } else if (testFramework === 'jasmine') { %>