Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Tailwind server setup does not work when no hugo_stats.json file exists #11264

Closed
bep opened this issue Jul 18, 2023 · 1 comment
Closed
Assignees
Milestone

Comments

@bep
Copy link
Member

bep commented Jul 18, 2023

No description provided.

@bep bep added the Bug label Jul 18, 2023
@bep bep added this to the v0.115.3 milestone Jul 18, 2023
@bep bep self-assigned this Jul 18, 2023
bep added a commit to bep/hugo-starter-tailwind-basic that referenced this issue Jul 18, 2023
There seem to be an issue with the first server build when no such file exists.

See gohugoio/hugo#11264
@bep bep changed the title Check initial server build when no hugo_stats.json file exists The Tailwind server setup does not work when no hugo_stats.json file exists Jul 19, 2023
bep added a commit to bep/hugo that referenced this issue Jul 19, 2023
A common pattern for Tailwind 3 is to mount that file to get it on the server watch list.

A common pattern is also to add hugo_stats.json to .gitignore.

This has meant that the first time you start the server (no hugo_stats.json), it just doesn't work as expected.

Fixes gohugoio#11264
bep added a commit to bep/hugo that referenced this issue Jul 19, 2023
@bep bep closed this as completed in 7ae62f4 Jul 19, 2023
@bep bep modified the milestones: v0.115.3, v0.115.4 Jul 19, 2023
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant