NekR/offline-plugin

Make `offline-plugin` work with webpack-dev-server

Open

#138 建立於 2016年11月29日

在 GitHub 查看
 (5 留言) (7 反應) (0 負責人)JavaScript (4,506 star) (319 fork)batch import
PR-welcomeenhancementhelp wanted

描述

This includes live reload and Hot Module Replacement. In those cases offline-plugin's cache functions should do nothing, i.e. not handle fetch event.

Reasons: someone may want to test push notifications / background sync in dev mode with webpack-dev-server.

(Probably even reload SW file's code when it changes)

貢獻者指南