drewzboto / grunt-connect-proxy

Grunt Connect support for proxying API calls during development
MIT License
424 stars 122 forks source link

documentation bug: example code for proxy config shows "server" key #54

Closed csreddy closed 10 years ago

csreddy commented 10 years ago

The latest version does not have "server" as key for "options". It should show: grunt.initConfig({ connect: { options: { port: 9000, // Change this to '0.0.0.0' to access the server from outside. hostname: 'localhost', livereload: 35729 }, ... ... }

Notice that there is no "server" as key for options. Same goes for Without Livereload example as well

dansomething commented 10 years ago

It is possible to configure the grunt-connect options globally, but this documentation assumes configuring the specific target called "server".