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

Speed up external templates #55

Closed
kasperg opened this issue Dec 9, 2014 · 2 comments · Fixed by #58
Closed

Speed up external templates #55

kasperg opened this issue Dec 9, 2014 · 2 comments · Fixed by #58
Assignees
Milestone

Comments

@kasperg
Copy link
Contributor

kasperg commented Dec 9, 2014

If using a template from a git url the template appears to be cloned each time the site is generarted. That makes the preview process slower.

It would be nice if we could keep using the the checkout if the url does not change. To ensure we use the latest version we could pull.

@mnapoli
Copy link
Member

mnapoli commented Dec 9, 2014

👍

Pulling doesn't even seem necessary to me, that would probably be as slow (or close) and wouldn't bring much. Restarting the preview seems like an acceptable compromise for ease of use.

Should be fixed when #58 is merged.

@kasperg
Copy link
Contributor Author

kasperg commented Dec 10, 2014

Sounds great.

@kasperg kasperg closed this as completed Dec 10, 2014
@kasperg kasperg reopened this Dec 10, 2014
@kasperg kasperg closed this as completed Dec 10, 2014
mnapoli added a commit that referenced this issue Dec 11, 2014
@mnapoli mnapoli added this to the 1.1 milestone Dec 11, 2014
@mnapoli mnapoli self-assigned this Dec 11, 2014
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