Skip to content

Commit

Permalink
Remove hot-module-replacement code (Graylog2#62)
Browse files Browse the repository at this point in the history
We don't use HMR at the moment, remove code blocking webpack from
refreshing the page when changes are made.
  • Loading branch information
edmundoa authored and bernd committed Dec 14, 2017
1 parent f222126 commit 55ebba4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/web/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,3 @@ const manifest = new PluginManifest(packageJson, {

PluginStore.register(manifest);

if (module.hot) {
module.hot.accept();
module.hot.dispose(() => PluginStore.unregister(manifest));
}

0 comments on commit 55ebba4

Please sign in to comment.