[new to this] --watch, what does it watch? #16609
-
Hello, I installed the cli version and I'm trying to integrate Tailwindcss in an old tech PHP/html/css/mysql website script. The presentation in this script is a mixture of PHP files, HTML files, JS/jQuery and html generated by php string concatenation, even jQuery, etc all good ol'd school scripting, if you know what I mean. If I'm gonna use Tailwind classes into a piece of run-time-generated html by some nested PHP function or jQuery callback, how do I trigger Tailwind? Atm, following the docs, I've this running at the root of the project:
It worked when I modified the source css, but for the other (php, html, js) source files? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Tailwind should automatically scan source files for Tailwind classes. I would envisage this to extend to the |
Beta Was this translation helpful? Give feedback.
Tailwind should automatically scan source files for Tailwind classes. I would envisage this to extend to the
--watch
flag. If it seems to be missing some classes, you may need to explicitly set its "base" path to the project root.