Skip to content

Commit bc007f9

Browse files
committed
Fix readme
1 parent f43a66d commit bc007f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ The inline version also works:
174174
## Puma plugin
175175
We provide a Puma plugin if you want to run the Tailwind watcher together with Puma and have Puma monitor and manage it. You just need to add
176176
```ruby
177-
plugin :tailwindcss if Rails.env.development?
177+
plugin :tailwindcss if ENV.fetch("RAILS_ENV", "development") == "development"
178178
```
179179
to your `puma.rb` configuration.
180180

0 commit comments

Comments
 (0)