We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 991e7c9 commit c9ed54aCopy full SHA for c9ed54a
src/main.ts
@@ -4,7 +4,7 @@
4
declare const LIVE_RELOAD: boolean;
5
6
// auto-refresh when source code have changed
7
-if (typeof LIVE_RELOAD !== "undefined" && LIVE_RELOAD) {
+if (LIVE_RELOAD) {
8
new EventSource("/esbuild")
9
.addEventListener("change", () => location.reload());
10
}
0 commit comments