Commit ef868773 authored by Gabriel Aumala's avatar Gabriel Aumala Committed by Joe Haddad
Browse files

Start the dev server at the specified host (#1301)

Pass the host from environment variable as argument of the devServer's
listen function instead of a field of options object.
Set the default host to 0.0.0.0 instead of localhost.
parent 31243283
3 merge requests!12191Lim.Pisey.168:/Identified - We are currently investigating reports of missing build logs. The issue has been identified and a resolution is in progress. We will provide a further update when available.Mar 21, 09:02 UTC,!12853brikk,!5717Automatically extract project file structure from build bundle file
Showing with 1 addition and 1 deletion
+1 -1
......@@ -83,7 +83,7 @@ function run(port) {
addWebpackMiddleware(devServer);
// Launch WebpackDevServer.
devServer.listen(port, err => {
devServer.listen(port, host, err => {
if (err) {
return console.log(err);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment