Skip to content

Commit

Permalink
Move missing <body> tag warning to log level 3.
Browse files Browse the repository at this point in the history
This way ajax html fragments don't output confusing warnings.
Fixes #97.
  • Loading branch information
tapio authored and bmuenzenmeyer committed Feb 23, 2018
1 parent 1e1e8d2 commit 9566d16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/live-server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function staticServer(root, spa) {
break;
}
}
if (injectTag === null && LiveServer.logLevel >= 2) {
if (injectTag === null && LiveServer.logLevel >= 3) {
console.warn("Failed to inject refresh script!".yellow,
"Couldn't find any of the tags ", injectCandidates, "from", filepath);
}
Expand Down

0 comments on commit 9566d16

Please # to comment.