Added watcher for SASS preprocessing

This commit is contained in:
Alex Tavarez
2025-09-02 19:45:18 -04:00
parent 378f6c393b
commit 657d839acd

View File

@@ -17,7 +17,7 @@ config :sukaato, SukaatoWeb.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],
http: [ip: {127, 0, 0, 0, 1}, port: 4000],
# http: [ip: {127, 0, 0, 0, 1}, port: 80],
https: [
port: 4001,
cipher_suite: :strong,
@@ -30,6 +30,7 @@ config :sukaato, SukaatoWeb.Endpoint,
secret_key_base: "DNC9b/fju5Rxh6d8QY1TNsHe0fWoN1Z7A8gYGJdebAL8wPxOtoZRr3+g3oXUZg0f",
watchers: [
esbuild: {Esbuild, :install_and_run, [:sukaato, ~w(--sourcemap=inline --watch)]},
sass: {DartSass, :install_and_run, [:sukaato, ~w(--watch)]},
tailwind: {Tailwind, :install_and_run, [:sukaato, ~w(--watch)]}
]