-
This is a rather convoluted set up I suppose. I have a new Rails 7 project with --css=tailwindcss inside a Docker container. This version of Rails implements a
I have The command being executed is:
If I execute the same I've added various debugging such as a wrapper script around the executable to print out the arguments and environment. The arguments in both cases are the same. The environment differs in trivial ways. e.g. PORT and PS are set via foreman. My current work around is to comment out the css line in the foreman procfile and then run the tailwindcss watch by hand in another window. tailwindcss v3.2.4
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Beta Was this translation helpful? Give feedback.
-
Adding The docs for tailwindcss-rails also claim you can pass |
Beta Was this translation helpful? Give feedback.
Adding
tty: true
to the compose file that the tailwindcss:watch process is running in will prevent the immediate exit.The docs for tailwindcss-rails also claim you can pass
always
to the process which I think would be a better solution, but this appears to only work if there's also a tty assigned to the container so maybe kind of pointless?`