From 0b13618da162eb5c42d18b2159112620b62732cd Mon Sep 17 00:00:00 2001 From: Marcin Kulik Date: Sun, 18 Feb 2024 21:35:26 +0100 Subject: [PATCH] Fix live reloading in dev env --- config/dev.exs | 1 + 1 file changed, 1 insertion(+) diff --git a/config/dev.exs b/config/dev.exs index 1ad020445..7a1c56d9c 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -50,6 +50,7 @@ config :asciinema, Asciinema.Accounts, secret: secret_key_base # Watch static and templates for browser reloading. config :asciinema, AsciinemaWeb.Endpoint, live_reload: [ + interval: 1000, patterns: [ ~r"priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$", ~r"priv/gettext/.*(po)$",