Public access to livereload script tag snippet

Hey there, 

it would be nice to reuse the livereload script tag snippet (see PR), to extend for instance the connect middleware with some custom functionality. In my case I would like to plugin a dispatcher for app routes to be served with my index.html: 

<pre><code>
var lrScriptTag = require('grunt-contrib-livereload/lib/utils').livereloadScriptTag;

middleware: function (connect, options) {
    var dispatch = require('dispatch');
    var routeDispatcher = function(req, res, next) {
                            
        var index = grunt.file.read(yeomanConfig.app + '/index.html');
        index = index.replace(/&lt;\/body&gt;/, function (w) {
          return lrScriptTag() + w;
        });
        res.write(index);
        res.end();
    }
    return [
        lrSnippet,
        mountFolder(connect, '.tmp'),
        mountFolder(connect, yeomanConfig.app),
        dispatch({
            '/([\\w\\/]+)': routeDispatcher
        })
    ];
}
</code></pre>

Or do you have any better solutions to solve my use case? thanks