live-server
live-server copied to clipboard
Live server does not automatically refresh browser, even with head and body tags in html
Before submitting an issue, please, see https://github.com/tapio/live-server#troubleshooting
Issue description
Live-server --verbose error says "Failed to inject refresh script! Couldn't find any of the tags [ /</body>/i, /</svg>/, /</head>/i ]" even though my index.html does have a head and body tag.
Software details
- Command line used for launching
live-server
: - OS: Windows 11
- Browser (if browser related): Chrome/firefox
- Node.js version: 15.14.0
-
live-server
version: 1.2.1