Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

live reloader only for dev

Maksim Mrugcc6b33155d7c
diff --git a/app/root.tsx b/app/root.tsx
index c84d490ff..73ba8cae0 100644
--- a/app/root.tsx
+++ b/app/root.tsx
@@ -30,7 +30,7 @@ export default function App() {
<Outlet />
<ScrollRestoration />
<Scripts />
- <LiveReload />
+ {process.env.NODE_ENV === 'development' && <LiveReload />}
</body>
</html>
)