Skip to content

update connect to let listen on 0.0.0.0 #382

@jinleileiking

Description

@jinleileiking

#186

diff --git a/Gruntfile.js b/Gruntfile.js
index d9607ac..b093f13 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -90,7 +90,10 @@ module.exports = function(grunt) {
                connect: {
                        server: {
                                options: {
-                                       port: 9100,
+                    open: true,
+                    debug: true,
+                                       port: 9111,
+                    hostname: '0.0.0.0',
                                        base: '.',
                                        keepalive: true
                                }
diff --git a/package.json b/package.json
index 4aefb7a..fdce84e 100644
--- a/package.json
+++ b/package.json
@@ -21,7 +21,7 @@
     "grunt": "0.4.5",
     "grunt-contrib-concat": "0.4.0",
     "grunt-contrib-watch": "0.5.1",
-    "grunt-contrib-connect": "0.3.0",
+    "grunt-contrib-connect": "0.5.0",
     "grunt-contrib-copy": "0.5.0",
     "grunt-contrib-clean": "0.5.0",
     "grunt-contrib-jasmine": "0.6.4",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions