abhidas17695 / dweb-ext

0 stars 0 forks source link

Dealing with need to reload extension #17

Closed mitra42 closed 6 years ago

mitra42 commented 6 years ago

Moving conversation here about why we need to reload extension ... @abhidas17695 says it is because of the background scrips. I asked ....

OK - so lets think about that deeper … background scripts being persistent is good for dweb. The question I think is how to avoid restarting them, and instead to call them. Can you check for example if the global “DwebTransports” is loaded ?

abhidas17695 commented 6 years ago

Yes DwebTransports is accessible in bootloader.js

mitra42 commented 6 years ago

its persistant now, but would be good to be able to access DwebTransports etc without reloading the libraries in the actual page.

mitra42 commented 6 years ago

Note - that might not be possible or even improve things if it can only tell this AFTER loading the bundle.

mitra42 commented 6 years ago

Closing since we aren't reloading and the issue in the last comments is in #29