summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorhref <href@random.sh>2021-09-02 08:06:50 +0200
committerhref <href@random.sh>2021-09-02 08:06:50 +0200
commit1fbd63419355e8ddd482c3cb62641bed1366763b (patch)
tree370ce63fcf19f2fd8b1f5136fc19a317050ba0f3 /config
parenttxt: don't search in files with dot, display them below in web (diff)
Phoenix 1.6rc0 & Use proper Esbuild/Tailwind/Npm
Diffstat (limited to 'config')
-rw-r--r--config/dev.exs7
1 files changed, 5 insertions, 2 deletions
diff --git a/config/dev.exs b/config/dev.exs
index 23780c3..25e7123 100644
--- a/config/dev.exs
+++ b/config/dev.exs
@@ -10,8 +10,7 @@ config :lsg, LSGWeb.Endpoint,
http: [port: 4012, ip: {0,0,0,0}],
debug_errors: true,
code_reloader: true,
- check_origin: false,
- watchers: []
+ check_origin: false
# ## SSL Support
#
@@ -35,9 +34,13 @@ config :lsg, LSGWeb.Endpoint,
patterns: [
~r{priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$},
~r{priv/gettext/.*(po)$},
+ ~r{lib/lsg_web/controllers/.*(ex)$},
~r{lib/lsg_web/views/.*(ex)$},
~r{lib/lsg_web/templates/.*(eex)$}
]
+ ],
+ watchers: [
+ make: ["-C", "assets", "watch"]
]
# Set a higher stacktrace during development. Avoid configuring such