Skip to content

bin/rails tailwindcss:watch via foreman exiting with 0 status #9831

Answered by metkat
pedz asked this question in Help
Discussion options

You must be logged in to vote

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?
`

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@pedz
Comment options

Answer selected by pedz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants