forwarding grunt connect to different url
问题 I'm using grunt connect with livereload for my dev environment. I want to be able to call the production api which is under /server. To do that I need to direct any calls from http://localhost:9000/server to http://www.production-server.com/server This is good for me because sometimes I want to test against the production server when in dev mode. Here's my current connect configuration (Generated by Yeoman): connect: { options: { port: 9000, // Change this to '0.0.0.0' to access the server