Fix livereload (with and without CSP).
Merge pull request #2176 from rwjblue/fix-live-reload-with-csp

Fix livereload (with and without CSP).