Run `grunt test` on port 9001
This will prevent any conflicts if the user's app is already running on port 9000.
This commit is contained in:
Родитель
cee45119c0
Коммит
6263b822a3
|
@ -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') { %>
|
||||
|
|
Загрузка…
Ссылка в новой задаче