use Mix.Config config :plausible, PlausibleWeb.Endpoint, server: true, debug_errors: true, code_reloader: true, check_origin: false, watchers: [ node: [ "node_modules/webpack/bin/webpack.js", "--mode", "development", "--watch-stdin", cd: Path.expand("../assets", __DIR__) ] ] config :plausible, PlausibleWeb.Endpoint, live_reload: [ patterns: [ ~r{priv/static/.*(js|css|png|jpeg|jpg|gif|svg)$}, ~r{priv/gettext/.*(po)$}, ~r{lib/plausible_web/views/.*(ex)$}, ~r{lib/plausible_web/templates/.*(eex)$} ] ] config :logger, :console, format: "[$level] $message\n" config :phoenix, :stacktrace_depth, 20 config :phoenix, :plug_init_mode, :runtime if File.exists?("config/dev.secret.exs") do import_config "dev.secret.exs" end config :logger, level: :debug