Skip to content

Commit

Permalink
Merge pull request gaearon#220 from eblanchette/master
Browse files Browse the repository at this point in the history
Added additional instructions for modules and HMR
  • Loading branch information
gaearon committed Dec 29, 2015
2 parents 947082e + 41b22ff commit 67579d9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/Troubleshooting.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,14 @@ If you have several entry points in `entry` configuration option, make sure `web
}
```

You will have to include "client.js" in your host page for the hot updates to work. For Example:

```html
<script src="/static/bundle-client.js"></script>
<script src="/static/bundle-app.js"></script>
<script src="/static/bundle-entry.js"></script>
```

The entry points that don't have `webpack/hot/only-dev-server` (or `webpack/hot/dev-server` if you fancy occasional reloads) won't know how to apply hot updates.

#### Syntax error: Unexpected token <
Expand Down

0 comments on commit 67579d9

Please sign in to comment.