Running ignite c serve -r
removes generated Vuex stores for 3rd party modules
#2986
Labels
ignite c serve -r
removes generated Vuex stores for 3rd party modules
#2986
Description
Generated Vuex stores for 3rd party modules are removed from the
vue/src/store/generated/index.ts
file when the blockchain app is served using the--force-reset
flag without--proto-all-modules
.This might be an issue when users generated Vuex code before running the blockchain app resetting the state in which case the generated store directories won't be removed but the
index.ts
file won't include them leading to an "inconsistent" code.New users might not be aware of this behaviour. Maybe we should consider to always generate Vuex code for all modules by default.
The text was updated successfully, but these errors were encountered: