mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-21 17:00:24 +00:00
chore: fix Travis build
Specify hostname/port for connect server to avoid https://github.com/joyent/libuv/issues/826 Conflicts: Gruntfile.js
This commit is contained in:
parent
f29f2f99b1
commit
4656e386fb
1 changed files with 5 additions and 0 deletions
|
|
@ -59,6 +59,11 @@ module.exports = function(grunt) {
|
|||
},
|
||||
testserver: {
|
||||
options: {
|
||||
// We use end2end task (which does not start the webserver)
|
||||
// and start the webserver as a separate process (in travis_build.sh)
|
||||
// to avoid https://github.com/joyent/libuv/issues/826
|
||||
port: 8000,
|
||||
hostname: '0.0.0.0',
|
||||
middleware: function(connect, options){
|
||||
return [
|
||||
function(req, resp, next) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue