Infinite regeneration
Opened this issue · 0 comments
gboone commented
I'm pretty sure this is an issue with this plugin, it started just after we integrated it with 18f.gsa.gov. It appears to cause infinite regeneration whenever --watch
or incremental builds are enabled. The gif below shows building the site fresh, saving a change to a file, and then infinite subsequent regenerations.
While I can't be fully sure this is specific to this plugin, I think it can be replicated by
- Setting
cache: true
on one or more of the endpoints. - Generate the site the first time, it downloads the data files from the respective APIs during generation and serves the site.
- Make a change to trigger a regereration this will build the site and re-downloads data files which then look like "changed" files and trigger another regeneration, this continues infinitely.