intesso/connect-livereload — pull request #54 by shakyShane (2014-11-26 21:10:52+00:00)
Title: Remove hard-coded `/livereload.js` in place of `src` which will allow cu...

...stom script src's to operate as expected.

Because the `snip` function has the hardcoded value, any attempt to use a custom `src` option results in the snippet being written to the response twice.

The test I added simply verifies that the src is only written once.