Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Update devServer.js #111

Merged
merged 1 commit into from
Mar 5, 2016
Merged

Update devServer.js #111

merged 1 commit into from
Mar 5, 2016

Conversation

davidhouweling
Copy link
Contributor

Remove localhost binding so allow express to listen universally on port 3000. This fixes #89. On Windows, when you have multiple network gateways (for my case, it was because I am on a corporate VPN), express gets quite particular about how it resolves. For some reason, the general request resolves fine, but the HMR requests don't. But when you allow express to be unbound from the hostname, it then allows HMR to work properly.

Remove localhost binding so allow express to listen universally on port 3000. This fixes #89.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Components not reloading
2 participants