Skip to content

Commit 9566d16

Browse files
tapiobmuenzenmeyer
authored andcommitted
Move missing <body> tag warning to log level 3.
This way ajax html fragments don't output confusing warnings. Fixes #97.
1 parent 1e1e8d2 commit 9566d16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/live-server/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function staticServer(root, spa) {
7272
break;
7373
}
7474
}
75-
if (injectTag === null && LiveServer.logLevel >= 2) {
75+
if (injectTag === null && LiveServer.logLevel >= 3) {
7676
console.warn("Failed to inject refresh script!".yellow,
7777
"Couldn't find any of the tags ", injectCandidates, "from", filepath);
7878
}

0 commit comments

Comments
 (0)