You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,11 @@
2
2
3
3
## next / unreleased
4
4
5
+
### Changed
6
+
7
+
* Removed the "poll" option on the watch command, since Tailwind v4 dropped support for this option (and it has been a no-op in this gem since.) #580@flavorjones
8
+
9
+
5
10
### Improved
6
11
7
12
* Support Rails 8.1 scaffolding which disables system tests by default. #585@flavorjones
- `bin/rails tailwindcss:watch[poll]` - for systems without file system events
268
268
- `bin/rails tailwindcss:watch[always]` - for systems without TTY (e.g., some docker containers)
269
+
- `bin/rails tailwindcss:watch[verbose]` - emit the commands being run
269
270
270
-
Note that you can combine task options, e.g. `rails tailwindcss:watch[debug,poll]`.
271
+
Note that you can combine task options, e.g. `rails tailwindcss:watch[debug,always]`.
271
272
272
273
This gem also makes available a Puma plugin to manage a live rebuild process when you run `rails server` (see "Live Rebuild" section below).
273
274
@@ -312,14 +313,6 @@ and then running `rails server` (or just `puma`) will run the Tailwind watch pro
312
313
313
314
This is a flexible command, which can be run with a few different options.
314
315
315
-
If you are running `rails tailwindcss:watch` on a system that doesn't fully support file system events, pass a `poll` argument to the task to instruct tailwindcss to instead use polling:
316
-
317
-
```
318
-
rails tailwindcss:watch[poll]
319
-
```
320
-
321
-
(If you use `bin/dev` then you should modify your `Procfile.dev` to use the `poll` option.)
322
-
323
316
If you are running `rails tailwindcss:watch` as a process in a Docker container, set`tty: true`in`docker-compose.yml`for the appropriate container to keep the watch process running.
324
317
325
318
If you are running `rails tailwindcss:watch`in a docker container without a tty, pass the `always` argument to the task to instruct tailwindcss to keep the watcher alive even when `stdin` is closed: `rails tailwindcss:watch[always]`. If you use `bin/dev`then you should modify your `Procfile.dev`.
0 commit comments