Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update connect to let listen on 0.0.0.0 #382

Open
jinleileiking opened this issue Feb 27, 2018 · 0 comments
Open

update connect to let listen on 0.0.0.0 #382

jinleileiking opened this issue Feb 27, 2018 · 0 comments

Comments

@jinleileiking
Copy link

#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",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant