-
Notifications
You must be signed in to change notification settings - Fork 548
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
Don't rebuild proto files if nothing in the proto dir has changed #1285
Comments
ideally building proto files should be disabled and should only run by passing a flag. Otherwise starting the chain takes way longer than necessary |
We're adding a separate command that will generate go from proto: |
For proto:
If these two hashes are the same between |
Our last decisions about this future:
also see #1997. |
One more thing to add to this, we need to break the cache per module basis if the generated go files modified/deleted under |
@ilgooz You mean we need to regenerate all proto outputs (*.pb.go, vuex, dart) if some of them was deleted/modified? And outputs also should be tracked for every module separately. |
Yes but separately for *.pb.go, vuex, dart. If By mean changed, yes it means deleted or modified. |
Hey @ivanovpetr we need to prioritize improvements for the |
closing in favor of #2383. |
@fedekunze the latest release v0.22.1 now has an advanced caching system, works pretty fast now and it'll rebuild the modified proto packages (SDK modules) only. You can observe the change in all Ignite CLI commands that requires to build from proto files, e.g.: |
Rebuilding proto files takes time, would be great if we could skip the process for when only Go files are changed.
The text was updated successfully, but these errors were encountered: