From 84a0ac4432a8983f5d4acda7504c8900b04fb811 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Thu, 1 Aug 2024 21:42:06 -0400 Subject: [PATCH] Use puma plugin for Tailwind in dev --- config/puma.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/puma.rb b/config/puma.rb index 2fe7e08..35b5f9c 100644 --- a/config/puma.rb +++ b/config/puma.rb @@ -50,6 +50,7 @@ port ENV.fetch("PORT", 3000) # Allow puma to be restarted by `bin/rails restart` command. plugin :tmp_restart plugin :solid_queue +plugin :tailwindcss if ENV.fetch("RAILS_ENV", "development") == "development" # Only use a pidfile when requested pidfile ENV["PIDFILE"] if ENV["PIDFILE"]