/workbox-hmr-broken

Example of HMR broken by workbox

Primary LanguageJavaScript

Repro for workbox-webpack-plugin@5.0.0-rc.0 breaking wepack iterative builds.

  1. Start dev server with:

    yarn start
    
  2. Visit dev server at http://localhost:8080

  3. Make a change in app/main.js e.g. change title -> title2

  4. Notice that website doesn't update

  5. Do a hard refresh Ctrl+R, and it still doesn't refresh

  6. If you change workbox-webpack-plugin to version 4.3.1, it works fine