We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
on_stopped
after_stopped
1 parent 7fb4975 commit 2e3bee8Copy full SHA for 2e3bee8
lib/puma/plugin/tailwindcss.rb
@@ -20,7 +20,11 @@ def start(launcher)
20
end
21
22
23
- launcher.events.on_stopped { stop_tailwind }
+ if Gem::Version.new(Puma::Const::PUMA_VERSION) >= Gem::Version.new("7")
24
+ launcher.events.after_stopped { stop_tailwind }
25
+ else
26
+ launcher.events.on_stopped { stop_tailwind }
27
+ end
28
29
in_background do
30
monitor_tailwind
0 commit comments