Did you know that grunt-contrib-connect injects the livereload script automatically if you want? See here: https://github.com/gruntjs/grunt-contrib-connect#livereload