NekR/offline-plugin

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

Open

#138 创建于 2016年11月29日

在 GitHub 查看
 (5 评论) (7 反应) (0 负责人)JavaScript (319 fork)batch import
PR-welcomeenhancementhelp wanted

仓库指标

Star
 (4,506 star)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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)

贡献者指南