Skip to content

Option to only build HTML on initial compile #963

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

Closed
wants to merge 1 commit into from

Conversation

dwoznicki
Copy link

Adds option to only build HTML files on initial compilation. For my project, html pages are basically static and only need to be recreated for the first build. Setting this option reduces my recompile time during watch mode for 25 html files from ~3000ms to ~500ms.

This addresses the long recompile time for issue #962

@jantimon
Copy link
Owner

Is this still required if we merge #972 ?

@dwoznicki
Copy link
Author

Probably not, but let me test build times again. If this option provides a significant decrease in compilation time, I may still push for it. Otherwise I'll close this PR.

@dwoznicki
Copy link
Author

dwoznicki commented Jul 31, 2018

@jantimon I don't see any difference in build time between this and #972, so I'm going to close this PR now.

@dwoznicki dwoznicki closed this Jul 31, 2018
@dwoznicki dwoznicki deleted the feature/only-build-once branch July 31, 2018 01:57
@lock
Copy link

lock bot commented Aug 30, 2018

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants