rails / cssbundling-rails

Bundle and process CSS in Rails with Tailwind, PostCSS, and Sass via Node.js.
MIT License
579 stars 83 forks source link

add usage ./bin/dev tailwind #37

Closed thomasvanholder closed 2 years ago

thomasvanholder commented 2 years ago

To run Tailwind JIT in development mode, an additional watch process is needed. This is mentioned in the Alpha preview. To complete the set-up instruction, a short usage section is added for Tailwind.

If the other available CSS frameworks (bulma, bootstrap, etc..) need the additional watch process, the readme can be elaborated.

dhh commented 2 years ago

Isn't this covered in the second paragraph of the README?

You develop using this approach by running the bundler in watch mode in a terminal with yarn build:css --watch (and your Rails server in another, if you're not using something like puma-dev)

Agree we should have a section about bin/dev, but it's not specific to TW JIT.