You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for opening this issue, Lazy first-time user here too 👋 and suffered from the same problem.
Raising a fatal error when there's no <head> is one approach, but that error is almost certainly going to result in the user adding a <head>. Because this tool is aimed at developers that don't want to waste time, I believe it should inject any missing html boilerplate automatically.
I ran into the following issue: I was lazy, had an
index.html
likeand so on (with a few more
<script>
etc), and live-reload mysteriously wasn't working.It appears that HTML file needs to have a
<head>
tag, because the code apparently looks for</head>
.It would be nice if there's an error message printed in such a case: "couldn't find
</head>
in index.html" or whatever.The text was updated successfully, but these errors were encountered: