Skip to content

Commit

Permalink
Merge pull request #156 from EugeneZ/patch-1
Browse files Browse the repository at this point in the history
Fixes #155: Remove template literals from reloading.js
  • Loading branch information
milankinen committed Apr 20, 2017
2 parents ad6d130 + e5f71da commit d2e094b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/reloading.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ function loader(mappings, entryPoints, options) {
if (!realHook) {
realHook = maybe;
} else {
console.warn(`LiveReactload: You are providing two arguments to the module.hot.onUpdate hook, and we are
ignoring the first argument. You may have copied and pasted a webpack hook. For compatibility, we are
accepting this, and it will probably work, but please remove the first argument to avoid confusion.`)
console.warn("LiveReactload: You are providing two arguments to the module.hot.onUpdate hook, and we are" +
"ignoring the first argument. You may have copied and pasted a webpack hook. For compatibility, we are" +
"accepting this, and it will probably work, but please remove the first argument to avoid confusion.")
}
scope.reloadHooks[id] = realHook;
}
Expand Down

0 comments on commit d2e094b

Please sign in to comment.