tailwindcss icon indicating copy to clipboard operation
tailwindcss copied to clipboard

Classes generation error using symlink

Open ScreamZ opened this issue 1 month ago • 0 comments

What version of Tailwind CSS are you using? (next-cli)

dependencies:
next 14.2.3
react 18.3.1
react-dom 18.3.1

devDependencies:
@types/node 20.12.12
@types/react 18.3.2
@types/react-dom 18.3.0
postcss 8.4.38
tailwindcss 3.4.3
typescript 5.4.5       

What build tool (or framework if it abstracts the build tool) are you using?

NextJS

What version of Node.js are you using?

v20.11.1

What browser are you using?

Firefox tested, also chrome

What operating system are you using?

MacOS

Reproduction URL

https://github.com/ScreamZ/bug-tw

Describe your issue

For a project, I've been in the need of duplicating pages in two separated folders. Therefore tailwind is silently not generating classes (after restart of the dev server).

Then when starting the server it generate classes that it found, but once the page is rendered, it's not able to generate new classes (that doesn't already exists in the generated file).

If you remove the symlink it works again after restart.

Repro instruction in readme of repo

Thanks

ScreamZ avatar May 23 '24 09:05 ScreamZ