Skip to content
This repository has been archived by the owner on Dec 27, 2019. It is now read-only.

Infinite regeneration #5

Open
gboone opened this issue Mar 31, 2015 · 0 comments
Open

Infinite regeneration #5

gboone opened this issue Mar 31, 2015 · 0 comments

Comments

@gboone
Copy link

gboone commented Mar 31, 2015

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

  1. Setting cache: true on one or more of the endpoints.
  2. Generate the site the first time, it downloads the data files from the respective APIs during generation and serves the site.
  3. 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.
    infini-generation
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant