hiddentao / gulp-server-livereload

Gulp plugin to run a local webserver with livereload enabled via socket.io. Also comes with standalone command-line interface.
MIT License
93 stars 28 forks source link

The proxy feature #8

Closed xuan9 closed 9 years ago

xuan9 commented 9 years ago

Copied the proxy feature which is available in gulp-webserver.

The feature is usefully for me to resolve the cross-domain ajax during client-side dev.

xuan9 commented 9 years ago

Thanks for the review. I added the document about 'proxies' option in README. And removed exported livereload.filter function. However, I may don't understand your comments about "Please shift this block to within the end() block of the previous request call so that they execute in sequence." I tried merge the two requests in one sentence, but test fails.

hiddentao commented 9 years ago

Thanks a lot! I'll make the necessary changes and merge in.