forked from pikdum/thistle_tea
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdev.exs
32 lines (26 loc) · 1022 Bytes
/
dev.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import Config
config :thistle_tea, ThistleTeaWeb.Endpoint,
# Binding to loopback ipv4 address prevents access from other machines.
# Change to `ip: {0, 0, 0, 0}` to allow access from other machines.
http: [ip: {127, 0, 0, 1}, port: 4000],
check_origin: false,
code_reloader: true,
debug_errors: true,
secret_key_base: "vEQPj+7/r5a1DKXk6/1z2IEEJQg/ToRMI//rC7ZDRWLUExIp2yXm7pSuEoIRp79F",
watchers: [
esbuild: {Esbuild, :install_and_run, [:thistle_tea, ~w(--sourcemap=inline --watch)]},
tailwind: {Tailwind, :install_and_run, [:thistle_tea, ~w(--watch)]}
]
config :thistle_tea, ThistleTeaWeb.Endpoint,
live_reload: [
patterns: [
~r"priv/static/(?!uploads/).*(js|css|png|jpeg|jpg|gif|svg)$",
~r"lib/web/(controllers|live|components)/.*(ex|heex)$"
]
]
config :thistle_tea, dev_routes: true
config :phoenix, :stacktrace_depth, 20
config :phoenix, :plug_init_mode, :runtime
config :phoenix_live_view,
debug_heex_annotations: true,
enable_expensive_runtime_checks: true