hugo/modules
Bjørn Erik Pedersen 7ae62f4aa3 Create hugo_stats.json if it's mounted but does not exists
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 #11264
2023-07-19 19:50:37 +02:00
..
npm Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00
client.go Fix hugo mod vendor for modules with hugo.toml 2023-07-08 16:08:46 +02:00
client_test.go Add some basic security policies with sensible defaults 2021-12-16 09:40:22 +01:00
collect.go Create hugo_stats.json if it's mounted but does not exists 2023-07-19 19:50:37 +02:00
collect_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
config.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
config_test.go modules: Adjust watch logic vs workspace use definitions 2022-12-19 20:17:33 +01:00
module.go modules: Adjust watch logic vs workspace use definitions 2022-12-19 20:17:33 +01:00