Tailwind not watching parent folder even though specified

Viewed 23

I have a content configuration in tailwind to watch php files that are up a directory from where the tailwind.config.js

module.exports = {
    jit: true,
    purge: {
        content: ["./templates/**/*.{html,php}", "./assets/**/*.{js,jsx,ts,tsx}", "../*.{php}"]
    },
    

...

The files that are in ../*.{php} are not being transformed or watch by tailwind. When i build, these css styles and class names that are in this folder are not being built.

Is it not possible to watch a parent directory with tailwind?

0 Answers
Related