hugo/hugofs
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
..
files Create hugo_stats.json if it's mounted but does not exists 2023-07-19 19:50:37 +02:00
glob all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
createcounting_fs.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
decorators.go Also consider wrapped errors when checking for file IsNotExist errors 2022-12-14 13:51:06 +01:00
fileinfo.go Misc doc, code refactoring to improve documentation 2023-01-04 18:01:26 +01:00
fileinfo_test.go hugofs: Make FileMeta a struct 2021-07-15 17:14:26 +02:00
filename_filter_fs.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
filename_filter_fs_test.go hugofs: Add includeFiles and excludeFiles to mount configuration 2021-10-20 05:00:17 +02:00
filter_fs.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
filter_fs_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
fs.go all: Fix typos in function names and comments 2023-06-19 09:26:29 +02:00
fs_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
glob.go Consolidate the glob case logic 2022-09-23 16:19:21 +02:00
glob_test.go Consolidate the glob case logic 2022-09-23 16:19:21 +02:00
hasbytes_fs.go Fix /static performance regression from Hugo 0.103.0 2022-09-26 19:02:25 +02:00
hashing_fs.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
hashing_fs_test.go all: Format code with gofumpt 2020-12-03 13:12:58 +01:00
language_merge.go Replace all usage of CopyOnWriteFs with OverlayFs 2022-04-10 13:49:31 +02:00
noop_fs.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
nosymlink_fs.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
nosymlink_test.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
rootmapping_fs.go Also consider wrapped errors when checking for file IsNotExist errors 2022-12-14 13:51:06 +01:00
rootmapping_fs_test.go Create a struct with all of Hugo's config options 2023-05-16 18:01:29 +02:00
slice_fs.go Also consider wrapped errors when checking for file IsNotExist errors 2022-12-14 13:51:06 +01:00
stacktracer_fs.go Rework the Destination filesystem to make --renderStaticToDisk work 2022-04-08 13:26:17 +02:00
walk.go Replace the old log setup, with structured logging etc. 2023-06-18 13:03:04 +02:00
walk_test.go Improve error messages, esp. when the server is running 2022-05-06 19:43:22 +02:00