hugo/docs/content/en/news/0.85.0-relnotes/index.md
2021-07-21 10:45:53 +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