richardanaya / wasm-service

HTMX, WebAssembly, Rust, ServiceWorkers
MIT License
696 stars 31 forks source link

Refactor service worker to refresh automatically #3

Closed infogulch closed 2 years ago

infogulch commented 2 years ago

Here are some changes to improve the development workflow. In particular this change makes it easier to update the wasm app code, and virtually eliminates the need to reload the service worker (but makes it easy to reload that too).

This is inspired by #2, but takes a different approach to refreshing.

Changes: