Use puma plugin for Tailwind in dev #22

Merged
atomaka merged 1 commit from tailwind-puma-plugin into main 2024-08-01 21:47:53 -04:00

View file

@ -50,6 +50,7 @@ port ENV.fetch("PORT", 3000)
# Allow puma to be restarted by `bin/rails restart` command. # Allow puma to be restarted by `bin/rails restart` command.
plugin :tmp_restart plugin :tmp_restart
plugin :solid_queue plugin :solid_queue
plugin :tailwindcss if ENV.fetch("RAILS_ENV", "development") == "development"
# Only use a pidfile when requested # Only use a pidfile when requested
pidfile ENV["PIDFILE"] if ENV["PIDFILE"] pidfile ENV["PIDFILE"] if ENV["PIDFILE"]