Skip to content

Commit c22c277

Browse files
committed
Add notes for running tailwindcss:watch in Docker
1 parent 47f636b commit c22c277

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ See https://bundler.io/man/bundle-config.1.html for more information.
8383
When running `tailwindcss` on an Alpine system, some users report a "No such file or directory" error message.
8484

8585

86+
### Running the TailwindCSS watch command in Docker
87+
88+
In order to run `bin/rails tailwindcss:watch` from a process, set `tty: true` in `docker-compose.yml` for the appropriate container.
89+
90+
8691
#### Install gnu libc compatibility
8792

8893
The cause of this is the upstream `tailwindcss` binary executables being built on a gnu libc system, making them incompatible with standard musl libc systems.

0 commit comments

Comments
 (0)