What version of Tailwind CSS are you using?
v3.0.24
What build tool (or framework if it abstracts the build tool) are you using?
Turborepo turbo run with tailwindcss cli
What version of Node.js are you using?
v16.15.1
What browser are you using?
N/A
What operating system are you using?
macOS
Reproduction URL
Describe your issue
Tailwind cli in watch mode exits early when run by turbo run. This makes it unusable in turborepo projects.
I've tracked it down to the event listeners on stdin
Because turbo repo doesn't pipe through stdin, we get an end event back when calling process.stdin.resume()
I've added a potential solution in a PR on my fork here
I'm not completely sure you would consider it your issue, but I think there is merit in this flag being useful.
Issue #1026 on Turborepo
What version of Tailwind CSS are you using?
v3.0.24
What build tool (or framework if it abstracts the build tool) are you using?
Turborepo turbo run with tailwindcss cli
What version of Node.js are you using?
v16.15.1
What browser are you using?
N/A
What operating system are you using?
macOS
Reproduction URL
Describe your issue
Tailwind cli in watch mode exits early when run by turbo run. This makes it unusable in turborepo projects.
I've tracked it down to the event listeners on stdin
Because turbo repo doesn't pipe through stdin, we get an end event back when calling
process.stdin.resume()I've added a potential solution in a PR on my fork here
I'm not completely sure you would consider it your issue, but I think there is merit in this flag being useful.
Issue #1026 on Turborepo