Skip to content

Commit cee0d05

Browse files
committed
Update dev.exs
1 parent 15237d9 commit cee0d05

1 file changed

Lines changed: 20 additions & 21 deletions

File tree

config/dev.exs

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,26 @@ config :plausible, PlausibleWeb.Endpoint,
88
server: true,
99
debug_errors: true,
1010
code_reloader: true,
11-
check_origin: false
12-
13-
# watchers: [
14-
# node: [
15-
# "node_modules/webpack/bin/webpack.js",
16-
# "--mode",
17-
# "development",
18-
# "--watch",
19-
# "--watch-options-stdin",
20-
# cd: Path.expand("../assets", __DIR__)
21-
# ]
22-
# ],
23-
# live_reload: [
24-
# patterns: [
25-
# ~r{priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$},
26-
# ~r{lib/plausible_web/views/.*(ex)$},
27-
# ~r{lib/plausible_web/templates/.*(eex)$},
28-
# ~r{lib/plausible_web/controllers/.*(ex)$},
29-
# ~r{lib/plausible_web/plugs/.*(ex)$}
30-
# ]
31-
# ]
11+
check_origin: false,
12+
watchers: [
13+
node: [
14+
"node_modules/webpack/bin/webpack.js",
15+
"--mode",
16+
"development",
17+
"--watch",
18+
"--watch-options-stdin",
19+
cd: Path.expand("../assets", __DIR__)
20+
]
21+
],
22+
live_reload: [
23+
patterns: [
24+
~r{priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$},
25+
~r{lib/plausible_web/views/.*(ex)$},
26+
~r{lib/plausible_web/templates/.*(eex)$},
27+
~r{lib/plausible_web/controllers/.*(ex)$},
28+
~r{lib/plausible_web/plugs/.*(ex)$}
29+
]
30+
]
3231

3332
config :logger, :console, format: "[$level] $message\n"
3433
config :phoenix, :stacktrace_depth, 20

0 commit comments

Comments
 (0)