NekR/offline-plugin

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

Open

#138 opened on 2016年11月29日

GitHub で見る
 (5 comments) (7 reactions) (0 assignees)JavaScript (4,506 stars) (319 forks)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)

コントリビューターガイド