You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Update the code.js outside of ccweb-add-on-scripts and reload the addon sandbox from within the addon itself
or
Bypass ccweb-add-on-scripts altogether so we have full control.
Have tried this on the custom-server branch, but there must be some secret sauce happening in the background. Even after serving the index.json as the script does over HTTPS, Express still doesn't want load the addon unless it's being hosted by ccweb-add-on-scripts
The text was updated successfully, but these errors were encountered:
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.
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.The text was updated successfully, but these errors were encountered: