Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhance regeneration of pages during live preview #1543

Open
jonahtanjz opened this issue Apr 11, 2021 · 0 comments
Open

Enhance regeneration of pages during live preview #1543

jonahtanjz opened this issue Apr 11, 2021 · 0 comments

Comments

@jonahtanjz
Copy link
Contributor

Is your request related to a problem?

A follow up to discussions in #1514 and #1529.

When a page is added or removed, all pages are rebuilt if the added/removed file is a page/dependency of page. Similarly, a change in page's properties will cause dependent pages to be rebuilt although this wouldn't affect other pages.

For context:
#1514 (review)
#1514 (comment)
#1529 (comment)

Describe the solution you'd like

  1. Only the pages that are dependent on the added/removed pages should be rebuilt.
  2. Only the pages which's properties have changed in site.json should be rebuilt. (and even then if using markbind s -o only the page being viewed should be rebuilt)
  3. When the attributes in the site configuration (site.json) are modified, only the affected pages should be rebuilt.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant