Don't write updated model file if the contents are unchanged #32

Closed
kamsar opened this Issue Aug 12, 2016 · 1 comment

Comments

Projects
None yet
1 participant
@kamsar
Collaborator

kamsar commented Aug 12, 2016

In a modular style site, there will be many Synthesis configurations. During many rebuilds some of the models will remain unchanged.

If we check for (content) changes before writing the updated file we can avoid changing the file timestamp which makes Visual Studio rebuild every project with a model. This will speed up compiles after generation significantly :)

@kamsar kamsar added the enhancement label Sep 22, 2016

kamsar added a commit that referenced this issue Oct 19, 2016

Don't write new model when contents are the same as the old one - if …
…it exists

Prevents unecessary project rebuilds after regeneration. Ref #32

@kamsar kamsar added the pending-fix label Oct 19, 2016

@kamsar

This comment has been minimized.

Show comment
Hide comment
@kamsar

kamsar Nov 18, 2016

Collaborator

Fixed in 8.2.2

Collaborator

kamsar commented Nov 18, 2016

Fixed in 8.2.2

@kamsar kamsar closed this Nov 18, 2016

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