hugo/content/en/news/0.85.0-relnotes/index.md
Bjørn Erik Pedersen 53a352795a Squashed 'docs/' changes from 6ebb5dad9..60a58d123
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
2021-07-21 10:45:05 +02:00

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:

Enhancements

Other

Fixes

Other