60a58d123 Remove outdated references in scss-sass.md 225a03834 Revert "Update menus.md" 7d149dd1e Update menus.md 3694ecafc Fix theme submission process/repository 0277c202c Update index.md - fix typo (#1490) 8921f0462 Fix link to theme components in 0.42 release notes (#1489) c948bd519 Release 0.85.0 ee5bc5be9 releaser: Add release notes to /docs for release of 0.85.0 f2f692c32 commands: Make the --poll flag a duration 13070337a docs: Regen CLI docs git-subtree-dir: docs git-subtree-split: 60a58d123d9f9d20ee7d09373812ce4428dffcdf
6.5 KiB
date: 2021-07-05 title: "Poll based watching" description: "Hugo 0.85.0: Polled based alternative when watching for changes and some other nice improvements." categories: ["Releases"]
Hugo 0.85.0
is on the smaller side of releases, but the main new thing it brings should be important to those who need it: Poll based watching the filesystem for changes.
Hugo uses Fsnotify to provide native file system notifications. This is still the default, but there may situations where this isn't working. The file may not support it (e.g. NFS), or you get the "too many open files" error and cannot or do not want to increase the ulimit
. Enable polling by passing the --poll
flag with an interval:
hugo server --poll 700ms
You can even do "long polling" by passing a long interval:
hugo server --poll 24h
This release represents 23 contributions by 6 contributors to the main Hugo code base.@bep leads the Hugo development with a significant amount of contributions, but also a big shoutout to @raoulb, @jmooring, and @digitalcraftsman for their ongoing contributions.
Many have also been busy writing and fixing the documentation in hugoDocs, which has received 1 contributions by 1 contributors.
Hugo now has:
- 52755+ stars
- 431+ contributors
- 370+ themes
Enhancements
Other
- Move time notification to after any build errors 04dc469f @jhollowe #8403
- Log warning for metadata decode error 07919d1c @IveGotNorto #8519
- Make the --poll flag a duration e31b1d19 @bep #8720
- Regen CLI docs 43a23239 @bep
- Add polling as a fallback to native filesystem events in server watch 24ce98b6 @bep #8720#6849#7930
- Bump github.com/yuin/goldmark v1.3.9 0019d60f @bep #8727
- Add module.import.noMounts config 40dfdd09 @bep #8708
- Use value type for module.Time 3a6dc6d3 @bep
- Add version time to "hugo config mounts" 6cd2110a @bep
- Add some more info to "hugo config mounts" 6a365c27 @bep
- Update to Minify v2.9.18 d9bdd37d @bep #8693
- Remove credit from release notes b2eaf4c8 @digitalcraftsman
- Rename Header(s) to Heading(s) in ToC struct a7e3da24 @bep
Fixes
Other
- Fix tab selection of disabled items in internal pagination template f75f9007 @raoulb
- Fix panic when theme has permalinks config e451b984 @bep #8724
- Fix Cloudflare vs Netlify cache dir issue 4c8552b1 @bep #8714
- Fix date format in schema and opengraph templates 34e4742f @jmooring #8671
- Fix Netlify default cache dir logic 6c8c0c8b @bep #8710
- Fix handling of invalid OS env config overrides 49fedbc5 @bep #8709
- Fix config handling with empty config entries after merge 19aa95fc @bep #8701
- Fix config loading for "hugo mod init" 923dd9d1 @bep #8697
- Fix language menu config regression 093dacab @bep #8672
- Fix merge of config with map[string]string values. 4a9d408f @bep #8679