diff --git a/Gruntfile.js b/Gruntfile.js index fe6d1ec7..2e9b6c5a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -81,6 +81,9 @@ module.exports = function(grunt) { connect: { server: { options: { + // listen on all interfaces by default + // remove the "hostname" key to default to localhost: + hostname: null, port: 9100, base: '.', keepalive: true diff --git a/package.json b/package.json index 27ef9258..da66c5e4 100644 --- a/package.json +++ b/package.json @@ -27,5 +27,8 @@ "grunt-contrib-jasmine": "0.6.4", "karma": "0.12.16", "grunt-karma": "0.8.3" + }, + "dependencies": { + "grunt-cli": "^0.1.13" } }