I use the following script (.bat file) to force a reload of the FSUIPC WASM module:
@echo off
copy /b "D:\MSFS2020\Community\fsuipc-lvar-module\layout.json"+,,"D:\MSFS2020\Community\fsuipc-lvar-module\layout.json"
copy /b "D:\MSFS2020\Community\fsuipc-lvar-module\modules\FSUIPC7_WASM.wasm"+,,"D:\MSFS2020\Community\fsuipc-lvar-module\modules\FSUIPC7_WASM.wasm"
I haven’t used this for a while (since around SU4) so cannot guarantee this still works, but worth a try.
Adapt too your own WASM.
I think the size also needs to have changed in your layout.json - see
Restarting StandaloneModule.wasm - #4 by VFRMau
John