# Hugo serve quickrebuild page mode?

**URL:** <https://discourse.gohugo.io/t/hugo-serve-quickrebuild-page-mode/41511>\
**Category:** support\
**Created:** [November 17, 2022, 8:24pm UTC](https://discourse.gohugo.io/t/hugo-serve-quickrebuild-page-mode/41511 "2022-11-17T20:24:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wolfspyre](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/wolfspyre/32/17271_2.png) [@Wolfspyre](https://discourse.gohugo.io/u/Wolfspyre)\
**Post date:** [November 17, 2022, 8:24pm UTC](https://discourse.gohugo.io/t/hugo-serve-quickrebuild-page-mode/41511/1 "2022-11-17T20:24:44Z")

</div>

Is there existing (or upcoming) functionality around facilitating localdev expedience?  
thinking specifically about contexts where one is editing a single page of a moderately large blog, or manypage site…

something like

> Hugo, please retain the list of the last files saved that triggered a rebuild…  
> if (some/all of) those same files trigger the next rebuild, then chances are _VERY GOOD_ that you don’t need to rebuild **EVERYTHING**

IE

> While in serve mode:  
> if the last render completed \< N (unit-of-time-here) ago  
> and if the asset(s?) that changed dont require rebuilding of other things too  
> (ie a js lib that’s included, or a snippit/template, or some other proto-construct/resource)  
> …  
> then ONLY re-render that page/asset.  
> The idea in my mind is SIMILAR to keeping a tcp session active for a few to see if any straggling data comes across the line before flushing context…

sort-of a post build … soft-finish threshold…  
once the timer runs out, hugo would act like it normally does now on site-build-completion.

I see (at least) a few ways to facilitate a bypass mechanism, for cases where you want to trigger a full rebuild anyways

- disable the feature
- set the settle timer to 0, or 1s.
- wait until the configured ‘settle timer’ runs out
- save a file not in the ‘soft-rebuildable’ filetypes list
- remove a ‘waitfile’
- just restart hugo serve…

Does this already exist? If not, is this an idea that has merit? or am I missing something obvious?

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [November 17, 2022, 8:37pm UTC](https://discourse.gohugo.io/t/hugo-serve-quickrebuild-page-mode/41511/2 "2022-11-17T20:37:28Z")

</div>

It’s called fast render mode, implemented five years ago, and is enabled by default.

[https://github.com/gohugoio/hugo/pull/3959](https://github.com/gohugoio/hugo/pull/3959)

When you run `hugo server` this appears in the terminal

> Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender

---

<div class="post-metadata">

**Author:** ![system](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/system/32/1_2.png) [@system](https://discourse.gohugo.io/u/system)\
**Post date:** [January 10, 2023, 3:59am UTC](https://discourse.gohugo.io/t/hugo-serve-quickrebuild-page-mode/41511/3 "2023-01-10T03:59:23Z")

</div>

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
