Skip to content

Commit

Permalink
Merge pull request #336 from chiplay/patch-1
Browse files Browse the repository at this point in the history
Add `cache: true` from stats.toJson options to fix HMR in certain setups
  • Loading branch information
glenjamin committed Oct 8, 2018
2 parents 0307650 + af4d5bd commit 621155d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions middleware.js
Expand Up @@ -116,6 +116,7 @@ function createEventStream(heartbeat) {
function publishStats(action, statsResult, eventStream, log) {
var stats = statsResult.toJson({
all: false,
cached: true,
children: true,
modules: true,
timings: true,
Expand Down

0 comments on commit 621155d

Please sign in to comment.