diff --git a/CHANGELOG.md b/CHANGELOG.md index 917d8b56..798cb1c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Improved * Support Rails 8.1 scaffolding which disables system tests by default. #585 @flavorjones +* Puma plugin now has experimental support for Rails engines. #567 @bopm ## v4.3.0 / 2025-07-06 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