You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you override the host from localhost to 192.168.0.2 in your webpack config when starting webpack-dev-server, the script will still output "Your application is running here: http://localhost:8080" instead of "Your application is running here: http://192.168.0.2:8080".
I've fixed this locally by making the following config/index.js diff:
- host: 'localhost', // can be overwritten by process.env.HOST
+ host: process.env.HOST || 'localhost', // can be overwritten by process.env.HOST
I'd issue a pull request but I'm not sure yet if this has any negative affect on things like tests.
The text was updated successfully, but these errors were encountered:
If you override the host from
localhost
to192.168.0.2
in your webpack config when startingwebpack-dev-server
, the script will still output "Your application is running here:http://localhost:8080
" instead of "Your application is running here:http://192.168.0.2:8080
".I've fixed this locally by making the following config/index.js diff:
I'd issue a pull request but I'm not sure yet if this has any negative affect on things like tests.
The text was updated successfully, but these errors were encountered: