flow-cli icon indicating copy to clipboard operation
flow-cli copied to clipboard

Flow dev makes it unclear as to what should be committed or not

Open chasefleming opened this issue 2 years ago • 0 comments

Running flow dev replaces accounts each time. This makes it difficult to keep track of what should be committed in flow.json. A few examples that are unclear:

  • If you run it yourself, it generates accounts based on your folder structure. But then, if you add an account manually, how do you now differentiate between what should be committed or not committed because it was generated by flow dev? It's likely just the accounts created for other networks would be committed, but now you've got to manually edit out the flow dev ones to commit
  • If you run flow dev and commit created accounts -- or don't commit -- then share with a teammate, does the teammate commit or not commit what was generated for them?

chasefleming avatar Jun 06 '23 23:06 chasefleming