Closed as not planned
Description
I noticed that on a new Rails app, Tailwind seems to be running quite frequently during HTTP requests, even if no files have changed. It appears that Tailwind watches the log files, where new log lines get appended frequently.
To reproduce this I'm doing the following:
- create a new Rails app via
rails new MyApp --css tailwind
- run it with
bin/dev
- change something in a log file, e.g.
echo "foo" >> log/development.log
- observe that tailwind outputs something like
17:01:26 css.1 | Done in 3ms
It would be nice if the default generated configuration excludes the log
directory and probably others like tmp
and storage
.
OS: Ubuntu 24.04
Ruby: 3.3.6
Rails: 8.0.1
tailwindcss-rails: 4.0.0
tailwindcss-ruby: 4.0.4
Metadata
Metadata
Assignees
Labels
No labels