lepture / python-livereload

livereload server in python
https://livereload.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
1.02k stars 150 forks source link

When serving JS files containing the string `</head>`, livereload erroneously inserts its "live script" in them #277

Closed Lucas-C closed 2 weeks ago

Lucas-C commented 2 months ago

Bug spotted when used with Reveal.JS: https://github.com/hakimel/reveal.js/issues/3659#issuecomment-2326286495

PR https://github.com/lepture/python-livereload/pull/278 aims to fix this.