Closed ticolucci closed 7 years ago
If I understand correctly, the issue is that Sagui rewrites the file even when there is no change?
Exactly! This is a great suggestion. And will probably solve the root issue of #349.
We will still need to improve the error logging there anyway. But it should no longer happen for @ticolucci `s reason.
While installing sagui, the post-install script will try to adjust make sure the
scripts
declared inpackage.json
are updated. This is great on a fresh install, but not required on production deploys (where everything is already configured).Therefore, do not change
package.json
when there is no change to be made.(Related to #349 )