Commit 23c039d 1 parent 31fbf00 commit 23c039d Copy full SHA for 23c039d
File tree 1 file changed +3
-2
lines changed
packages/@angular/cli/tasks
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export default Task.extend({
46
46
47
47
const serverAddress = url . format ( {
48
48
protocol : serveTaskOptions . ssl ? 'https' : 'http' ,
49
- hostname : serveTaskOptions . host ,
49
+ hostname : serveTaskOptions . host === '0.0.0.0' ? 'localhost' : serveTaskOptions . host ,
50
50
port : serveTaskOptions . port . toString ( )
51
51
} ) ;
52
52
let clientAddress = serverAddress ;
@@ -181,7 +181,8 @@ export default Task.extend({
181
181
182
182
ui . writeLine ( chalk . green ( oneLine `
183
183
**
184
- NG Live Development Server is running on ${ serverAddress }
184
+ NG Live Development Server is listening on ${ serveTaskOptions . host } :${ serveTaskOptions . port } ,
185
+ open your browser on ${ serverAddress }
185
186
**
186
187
` ) ) ;
187
188
You can’t perform that action at this time.
0 commit comments