Open justintaylor-dev opened 1 month ago
Appears that @adobe/create-ccweb-add-on
sends a WebSocket message to notify Express to reload the panel. I think this has to come from the some port that's being served.
Message 1
Message 2
Update to copy has sped this up somewhat, takes about 2s instead of 4s to reload backend code now
c6df1da103b9febd0bb1a37f98673e14d0e1352c
While the UI HMR is very fast, currently reloading the Sandbox
code.js
is very slow since it's waiting on@adobe/ccweb-add-on-scripts
to rebuild and reserve the plugin. Takes about 3-4 seconds.See if there's a way to either:
ccweb-add-on-scripts
and reload the addon sandbox from within the addon itselfor
ccweb-add-on-scripts
altogether so we have full control.