From df1a1dd8cac363ca9345f2d5d21eed91b159354b Mon Sep 17 00:00:00 2001 From: Bogdan Gusiev Date: Sat, 1 Mar 2025 18:19:29 +0100 Subject: [PATCH] Run puma plugin in debug mode --- lib/puma/plugin/tailwindcss.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/puma/plugin/tailwindcss.rb b/lib/puma/plugin/tailwindcss.rb index 4624d7e8..bbe27afb 100644 --- a/lib/puma/plugin/tailwindcss.rb +++ b/lib/puma/plugin/tailwindcss.rb @@ -13,7 +13,7 @@ def start(launcher) # If we use system(*command) instead, IRB and Debug can't read from $stdin # correctly bacause some keystrokes will be taken by watch_command. begin - IO.popen(Tailwindcss::Commands.watch_command, 'r+') do |io| + IO.popen(Tailwindcss::Commands.watch_command(debug: true), 'r+') do |io| IO.copy_stream(io, $stdout) end rescue Interrupt