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

Do not store temp data per-env #1069

Merged
merged 1 commit into from Jan 16, 2017
Merged

Do not store temp data per-env #1069

merged 1 commit into from Jan 16, 2017

Conversation

denisdefreyne
Copy link
Member

Fixes #1067.

This trips up the dependency tracker and outdatedness checker and can
cause wrong compilation output.
@denisdefreyne denisdefreyne added this to the 4.5.4 milestone Jan 16, 2017
@denisdefreyne denisdefreyne merged commit a8e1160 into master Jan 16, 2017
@denisdefreyne denisdefreyne deleted the gh-1067 branch January 16, 2017 10:56
@Fjan
Copy link
Contributor

Fjan commented Jan 16, 2017

This commit has the side effect of doing a full recompile each time the environment changes! In a normal workflow where you fix a typo on staging and then on production you now have to wait for two full recompiles... This makes working with large nanoc sites unbearably slow, can we please revert?

@Fjan
Copy link
Contributor

Fjan commented Jan 16, 2017

A better solution to prevent issue #1067 would be to do a full recompile only if the output directories for the environments are the same. In normal use you would use two different output directories so the issue would not occur.

@denisdefreyne
Copy link
Member Author

@Fjan I’ve created a separate issue for this (#1070). This PR can’t be reverted as-is, as it reintroduces a bug.

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

Successfully merging this pull request may close these issues.

None yet

2 participants