napcs/node-livereload — pull request #2 by nharbour (2012-06-23 07:12:26+00:00)
Title: Changes to allow node-livereload to server up client-side livereload.js code (required for bookmarklet use)

If you're doing server side development with livereload it's useful to run the livereload server on the server you're developing on.

This means you want to connect to the server instance of livereload instead of localhost. If you use the livereload bookmarklet it will try this before falling back to localhost. However, it needs to find the livereload.js file on the server to work properly. Ie. to find the code at:

ie. http://myserver.com:35729/livereload.js

Instead of localhost.

This pull request adds HTTP server support to serve up this file.