From a54d19f20c40e5da1afefd9cab31d38c17f2d350 Mon Sep 17 00:00:00 2001 From: Sergey Moiseev Date: Thu, 21 Aug 2025 19:01:36 +0300 Subject: [PATCH] Fix Puma plugin entry point issue --- 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..3cf777b8 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(['bin/rails', 'tailwindcss:watch'], 'r+') do |io| IO.copy_stream(io, $stdout) end rescue Interrupt