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

Allow live previewing a single page in force-rebuild mode #441

Closed
damithc opened this issue Sep 29, 2018 · 1 comment · Fixed by #475
Closed

Allow live previewing a single page in force-rebuild mode #441

damithc opened this issue Sep 29, 2018 · 1 comment · Fixed by #475

Comments

@damithc
Copy link
Contributor

damithc commented Sep 29, 2018

Is it possible to allow launching markbind serve for a specific page but in force-rebuild mode?

Justification: faster live preview when the author is interested in only one page but wants all changes (including nunjucks) to be reflected in that page

@yamgent
Copy link
Member

yamgent commented Sep 29, 2018

We can support something like markbind serve --one-page <file-path>, and modify the logic in Site.js#generatePages() to render only that one page when --one-page is set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants