Closed eamonwoortman closed 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
lovin' it 👍
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