The default wasm optimization flag is -Oz, which is a bit slow for development. To speed up, wasm compilation, I set the optimization flag to -O1.
.hcbuild, on each zome, which has the json for each build command. I created
.hcbuild.prod.json which has the
-Oz flag &
.hcbuild.dev.json which has the
I then symlink
.hcbuild for development builds &
.hcbuild for prod builds.