Skip to content

Commit

Permalink
fix HMR (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkzawa authored and rauchg committed Jan 6, 2017
1 parent 0551dc9 commit 8df7f0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/next-dev.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import 'react-hot-loader/patch'
import patch from './patch-react'

// apply patch first
Expand All @@ -7,5 +6,7 @@ patch((err) => {
next.renderError(err)
})

require('react-hot-loader/patch')

const next = require('./next')
window.next = next

0 comments on commit 8df7f0d

Please sign in to comment.