ArthurTent / ShaderAmp

Chrome extension to visualize music
Other
17 stars 0 forks source link

Adding shaderlist polling #27

Closed eamonwoortman closed 8 months ago

eamonwoortman commented 8 months ago

This PR implements periodic polling of a new version of the shader list (now called catalog).

Unfortunately, this was needed as we moved the state to the service worker and were not able to reload our content pages to fetch new shader changes.

At the moment, this polling mechanism only works when deployed from a development environment (ie. loaded an unpacked extension).

Bonus: This is now effectively a shader hot reload mechanism!

https://github.com/ArthurTent/ShaderAmp/assets/9072397/0ef56971-4f8f-4017-bfc1-f143fb1905a4

ArthurTent commented 8 months ago

lovin' it 👍